summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-03-12 14:30:08 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2011-03-12 14:30:08 -0500
commit7648fd91779c25ec3d9eef336b41023d255e1a3e (patch)
tree17ae3969c165896428478e11564d7d7b00bff81d /src/compiler.sml
parent6814596c5fec2d103172093b9659b1cf369cdf3b (diff)
Change order of linking database libraries to satisfy Cygwin
Diffstat (limited to 'src/compiler.sml')
-rw-r--r--src/compiler.sml4
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