Commit 6b521aaf authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib: fixed SDK lookup using Xcode 4.2 or later

parent ea86c8c0
...@@ -163,6 +163,7 @@ check_macosx_sdk() ...@@ -163,6 +163,7 @@ check_macosx_sdk()
exit 1 exit 1
fi fi
add_make "MACOSX_SDK=${SDKROOT}"
add_make "OSX_VERSION ?= ${OSX_VERSION}" add_make "OSX_VERSION ?= ${OSX_VERSION}"
} }
......
...@@ -106,7 +106,6 @@ endif ...@@ -106,7 +106,6 @@ endif
ifdef HAVE_MACOSX ifdef HAVE_MACOSX
MIN_OSX_VERSION=10.5 MIN_OSX_VERSION=10.5
MACOSX_SDK=/Developer/SDKs/MacOSX$(OSX_VERSION).sdk
CC=gcc-4.2 CC=gcc-4.2
CXX=g++-4.2 CXX=g++-4.2
AR=ar AR=ar
......
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