changeset 1828:05e3365292cd

Switch linker order
author Adam Chlipala <adam@chlipala.net>
date Sat, 20 Oct 2012 13:51:46 -0400
parents 6b86ca4b0908
children aadfc1a138d8
files src/compiler.sml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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