diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-03-12 14:30:08 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-03-12 14:30:08 -0500 |
commit | 538cedd06c3779e564ed123d4747c8278b431e46 (patch) | |
tree | 17ae3969c165896428478e11564d7d7b00bff81d /src | |
parent | 487eb95fc51bf3d25137f3cb105f6f41acdefebf (diff) |
Change order of linking database libraries to satisfy Cygwin
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler.sml b/src/compiler.sml index 572129bf..75e7b129 100644 --- a/src/compiler.sml +++ b/src/compiler.sml @@ -1306,8 +1306,8 @@ fun compileC {cname, oname, ename, libs, profile, debug, link = link'} = ^ " " ^ #compile proto ^ " -c " ^ cname ^ " -o " ^ oname - val link = "gcc -Werror -O3 -lm -pthread " ^ Config.gccArgs ^ " " ^ libs ^ " " ^ lib ^ " " ^ Config.openssl ^ " " ^ oname - ^ " -o " ^ ename + val link = "gcc -Werror -O3 -lm -pthread " ^ Config.gccArgs ^ " " ^ lib ^ " " ^ Config.openssl ^ " " ^ oname + ^ " -o " ^ ename ^ " " ^ libs val (compile, link) = if profile then |