Switch to default SDK, x64 build, and 10.9 deployment target for sip on OSX

This commit is contained in:
Robin Dunn
2019-11-08 19:37:35 -08:00
parent 55a49495ac
commit 1c944efba4

View File

@@ -19,23 +19,9 @@ cd $PROJECTS/sip/sip
SIPVER=`$PYTHON configure.py --version | grep -v "This is SIP"`
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 \
--deployment-target=10.7 \
--sdk=$SDK \
--arch=i386 \
--universal \
--deployment-target=10.9 \
--arch=x86_64 \
--sip-module wx.siplib \
$*