From 538cedd06c3779e564ed123d4747c8278b431e46 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sat, 12 Mar 2011 14:30:08 -0500 Subject: Change order of linking database libraries to satisfy Cygwin --- src/compiler.sml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler.sml') 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 -- cgit v1.2.3