summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2003-05-08 17:24:19 +0000
committerAlexandra Ellwood <lxs@mit.edu>2003-05-08 17:24:19 +0000
commit767ada2c7b6a38cead983d25a2e920b145fcb03a (patch)
tree3a8e10e9018a9db187b96b01ae092b78eadeb303
parent57f1dc6a36fbf491aa45d0b3bc94c02c8b14ece3 (diff)
downloadkrb5-767ada2c7b6a38cead983d25a2e920b145fcb03a.tar.gz
krb5-767ada2c7b6a38cead983d25a2e920b145fcb03a.tar.xz
krb5-767ada2c7b6a38cead983d25a2e920b145fcb03a.zip
Added option to search paths correctly with new tools and to include TargetConditionals.h so that TARGET_OS_MAC is defined for all files in the build system, not just those that include krb5.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15403 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam b/src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam
index 9969720be6..e5a15ce9ee 100644
--- a/src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam
+++ b/src/mac/MacOSX/Scripts/Kerberos5ServerBuild.jam
@@ -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>