mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Switch to default SDK, x64 build, and 10.9 deployment target for sip on OSX
This commit is contained in:
@@ -19,23 +19,9 @@ cd $PROJECTS/sip/sip
|
|||||||
SIPVER=`$PYTHON configure.py --version | grep -v "This is SIP"`
|
SIPVER=`$PYTHON configure.py --version | grep -v "This is SIP"`
|
||||||
|
|
||||||
if [ "$PLATFORM" = "darwin" ]; then
|
if [ "$PLATFORM" = "darwin" ]; then
|
||||||
# try to ensure compatibility back to 10.6 if we can
|
|
||||||
xcode=$(xcode-select -print-path)
|
|
||||||
for v in 7 8 9 10 11 12 13 14 15; do
|
|
||||||
if [ -d $xcode/SDKs/MacOSX10.$v.sdk ]; then
|
|
||||||
SDK=$xcode/SDKs/MacOSX10.$v.sdk
|
|
||||||
break
|
|
||||||
elif [ -d $xcode/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.$v.sdk ]; then
|
|
||||||
SDK=$xcode/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.$v.sdk
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
$PYTHON configure.py \
|
$PYTHON configure.py \
|
||||||
--deployment-target=10.7 \
|
--deployment-target=10.9 \
|
||||||
--sdk=$SDK \
|
--arch=x86_64 \
|
||||||
--arch=i386 \
|
|
||||||
--universal \
|
|
||||||
--sip-module wx.siplib \
|
--sip-module wx.siplib \
|
||||||
$*
|
$*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user