summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-01-16 10:38:03 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2011-01-16 10:38:03 -0500
commitfbc17fa1d962150062aa0b4839d75a27605b965e (patch)
treefe0b592698e1c2198b6af517782f7c8608065759 /src/compiler.sml
parent3af8bcda28c4c831cf420ebba926dd9ac1f44d71 (diff)
Patch from Vladimir Shabanov to support crypt under OS X
Diffstat (limited to 'src/compiler.sml')
-rw-r--r--src/compiler.sml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.sml b/src/compiler.sml
index db500b6b..e13042af 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -1295,7 +1295,7 @@ fun compileC {cname, oname, ename, libs, profile, debug, link = link'} =
^ " " ^ #compile proto
^ " -c " ^ cname ^ " -o " ^ oname
- val link = "gcc -Werror -O3 -lm -lcrypt -pthread " ^ Config.gccArgs ^ " " ^ libs ^ " " ^ lib ^ " " ^ Config.openssl ^ " " ^ oname
+ val link = "gcc -Werror -O3 -lm -pthread " ^ Config.gccArgs ^ " " ^ libs ^ " " ^ lib ^ " " ^ Config.openssl ^ " " ^ oname
^ " -o " ^ ename
val (compile, link) =