[darwinbuild-changes] [181] trunk/darwintrace/Makefile

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 01:55:11 PDT 2006


Revision: 181
          http://trac.macosforge.org/projects/darwinbuild/changeset/181
Author:   ssen
Date:     2006-10-04 01:55:10 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
link against SystemStubs when building, if present

Modified Paths:
--------------
    trunk/darwintrace/Makefile

Modified: trunk/darwintrace/Makefile
===================================================================
--- trunk/darwintrace/Makefile	2005-08-13 03:15:08 UTC (rev 180)
+++ trunk/darwintrace/Makefile	2006-10-04 08:55:10 UTC (rev 181)
@@ -1,5 +1,7 @@
 include ../common.mk
 
+LIBS=$(shell if [ -e /usr/lib/libSystemStubs.a ]; then echo -lSystemStubs; fi)
+
 ###
 ### Variables for the 'install' phase
 ###
@@ -15,7 +17,7 @@
 		-nostdlib \
 		-undefined suppress \
 		-dynamiclib \
-		$^
+		$^ $(LIBS)
 clean:
 	rm -f darwintrace.dylib
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/6d61837c/attachment.html


More information about the darwinbuild-changes mailing list