--- a/Dependencies/build.sh Tue May 08 18:03:59 2012 +0200
+++ b/Dependencies/build.sh Tue May 08 18:05:54 2012 +0200
@@ -22,8 +22,8 @@
NUMBER_OF_CORES=`sysctl -n hw.activecpu`
# Also try /Developer-old, just in case XCode 4 is installed
-SDK_ROOT="${DEVELOPER}/SDKs/MacOSX10.6.sdk"
+DEVELOPER=$(xcode-select -print-path) +SDK_ROOT="${DEVELOPER}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk" BASE_CFLAGS="-fstack-protector -isysroot $SDK_ROOT \
@@ -161,8 +161,8 @@
eval `$DEVELOPER/usr/bin/pump --startup`
# Try to find the right gcc, even when XCode4 is installed
- export CC="$DEVELOPER/usr/bin/gcc"
- export CXX="$DEVELOPER/usr/bin/g++"
+ export CC="/opt/local/bin/gcc-apple-4.2" + export CXX="/opt/local/bin/g++-apple-4.2"