Added option to search paths correctly with new tools and to include TargetConditiona...
authorAlexandra Ellwood <lxs@mit.edu>
Thu, 8 May 2003 17:24:19 +0000 (17:24 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Thu, 8 May 2003 17:24:19 +0000 (17:24 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15403 dc483132-0cff-0310-8789-dd5450dbe970

src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam

index 9969720be6ae0972776514b5ab65a84513b38325..e5a15ce9ee2cc01a2de949b74d3c0cd2323db481 100644 (file)
@@ -32,7 +32,7 @@ rule Configure
 actions Configure
 {
     mkdir -p "$(1:D)"
-    cd "$(1:D)" && /bin/sh "$(2)" --prefix=/usr CFLAGS="-fno-common" || rm -f "$(1)"
+    cd "$(1:D)" && /bin/sh "$(2)" --prefix=/usr CFLAGS="-fno-common -include /usr/include/TargetConditionals.h" LDFLAGS="-Wl,-search_paths_first" || rm -f "$(1)"
 }
 
 # Make <stamp file> <build dir> : <makefile>