diff --git a/tools/build-python.sh b/tools/build-python.sh index bdcfad4..04a31a6 100755 --- a/tools/build-python.sh +++ b/tools/build-python.sh @@ -25,7 +25,6 @@ try patch -p1 < $KIVYIOSROOT/src/python_files/Python-$IOS_PYTHON_VERSION-static- # Copy our setup for modules try cp $KIVYIOSROOT/src/python_files/ModulesSetup Modules/Setup.local try cp $KIVYIOSROOT/src/python_files/_scproxy.py Lib/_scproxy.py -#try cp $KIVYIOSROOT/src/python_files/Setup.dist Modules/Setup.dist echo "Building for native machine ============================================" @@ -55,7 +54,10 @@ export MACOSX_DEPLOYMENT_TARGET= try cp $KIVYIOSROOT/src/python_files/ModulesSetup Modules/Setup.local try cat $KIVYIOSROOT/src/python_files/ModulesSetup.mobile >> Modules/Setup.local try cp $KIVYIOSROOT/src/python_files/_scproxy.py Lib/_scproxy.py -try cp $KIVYIOSROOT/src/python_files/Setup.dist Modules/Setup.dist +if [ -f $KIVYIOSROOT/src/python_files/Setup.dist ]; then + # Used by build-openssl.sh to insert links + $KIVYIOSROOT/src/python_files/Setup.dist Modules/Setup.dist +fi try ./configure CC="$ARM_CC" LD="$ARM_LD" \ CFLAGS="$ARM_CFLAGS" \