Kaydet (Commit) 9d1263d1 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use xcode-select -print-path for 10.6 and 10.7 SDKs

Change-Id: I79d71c682c07f49b70c6791953c000868bf65cd9
üst 4e7cfbfa
......@@ -2443,19 +2443,13 @@ if test "$_os" = "Darwin"; then
echo "Building with a SDK > 10.4 is experimental" >> warn
;;
10.6)
MACOSX_SDK_PATH="/Developer/SDKs/MacOSX10.6.sdk"
if test ! -d "$MACOSX_SDK_PATH"; then
MACOSX_SDK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
fi
MACOSX_SDK_PATH="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk"
macosx_sdk_value="1060"
AC_MSG_WARN([Building with a SDK > 10.4 is experimental])
echo "Building with a SDK > 10.4 is experimental" >> warn
;;
10.7)
MACOSX_SDK_PATH="/Developer/SDKs/MacOSX10.7.sdk"
if test ! -d "$MACOSX_SDK_PATH"; then
MACOSX_SDK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
fi
MACOSX_SDK_PATH="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"
macosx_sdk_value="1070"
AC_MSG_WARN([Building with SDK 10.7 is known to fail in vcl])
echo "Building with SDK 10.7 is known to fail in vcl" >> warn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment