From f78c454c6f46dd11c416e6c5515a9438c19cd506 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 28 Jan 2010 09:56:08 -0500 Subject: First attempt to switch to Automake, to get shared libraries built in OSX --- src/compiler.sml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/compiler.sml') 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 -- cgit v1.2.3