summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler.sml')
-rw-r--r--src/compiler.sml5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler.sml b/src/compiler.sml
index 5fba9ae0..11192dfa 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -1,4 +1,4 @@
-(* Copyright (c) 2008-2009, Adam Chlipala
+(* Copyright (c) 2008-2010, Adam Chlipala
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -1040,8 +1040,7 @@ fun compileC {cname, oname, ename, libs, profile, debug, link = link'} =
val proto = Settings.currentProtocol ()
val lib = if Settings.getStaticLinking () then
- clibFile "request.o" ^ " " ^ clibFile "queue.o" ^ " " ^ clibFile "urweb.o"
- ^ " " ^ clibFile "memmem.o" ^ " " ^ clibFile "mhash.o" ^ " " ^ #linkStatic proto
+ #linkStatic proto ^ " " ^ Config.lib ^ "/../liburweb.a"
else
"-L" ^ Config.lib ^ "/.. -lurweb " ^ #linkDynamic proto