diff src/compiler.sml @ 1828:05e3365292cd

Switch linker order
author Adam Chlipala <adam@chlipala.net>
date Sat, 20 Oct 2012 13:51:46 -0400
parents 8bc16ff91d32
children c1e3805e604e
line wrap: on
line diff
--- a/src/compiler.sml	Tue Sep 25 08:29:27 2012 -0400
+++ b/src/compiler.sml	Sat Oct 20 13:51:46 2012 -0400
@@ -1469,7 +1469,7 @@
         val linker = Option.getOpt (linker, Config.ccompiler ^ " -Werror" ^ opt ^ " " ^ Config.ccArgs ^ " " ^ Config.pthreadCflags ^ " " ^ Config.pthreadLibs)
 
         val link = linker
-                   ^ " " ^ lib ^ " " ^ escapeFilename oname ^ " " ^ libs ^ " -lm " ^ Config.openssl ^ " -o " ^ escapeFilename ename
+                   ^ " " ^ lib ^ " " ^ escapeFilename oname ^ " -lm " ^ Config.openssl ^ " " ^ libs ^ " -o " ^ escapeFilename ename
 
         val (compile, link) =
             if profile then