Check for existence of Setup.dist

This commit is contained in:
Richard Larkin 2014-05-14 14:06:38 +02:00
parent 436f0ef21b
commit 06fa93c6e7

View file

@ -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" \