1
0
mirror of https://github.com/janet-lang/janet synced 2025-02-24 20:10:01 +00:00

Change link order once more.

This commit is contained in:
Calvin Rose 2019-07-28 18:06:55 -05:00
parent 4809867b33
commit 21cccc00d7

View File

@ -481,8 +481,8 @@ int main(int argc, const char **argv) {
(def defines (make-defines (opt opts :defines {}))) (def defines (make-defines (opt opts :defines {})))
(print "compiling and linking " dest "...") (print "compiling and linking " dest "...")
(if is-win (if is-win
(shell cc ;cflags (libjanet) ;lflags (string "/OUT:" dest) cimage_dest ;static-libs) (shell cc ;cflags (string "/OUT:" dest) cimage_dest ;static-libs (libjanet) ;lflags)
(shell cc ;cflags `-o` dest cimage_dest ;lflags ;static-libs (libjanet)))))) (shell cc ;cflags `-o` dest cimage_dest ;static-libs (libjanet) ;lflags)))))
(defn- abspath (defn- abspath
"Create an absolute path. Does not resolve . and .. (useful for "Create an absolute path. Does not resolve . and .. (useful for