diff options
Diffstat (limited to 'lldb/scripts/Python/finish-swig-Python-LLDB.sh')
-rwxr-xr-x | lldb/scripts/Python/finish-swig-Python-LLDB.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/scripts/Python/finish-swig-Python-LLDB.sh b/lldb/scripts/Python/finish-swig-Python-LLDB.sh index 562250ce609..f8b3a004f29 100755 --- a/lldb/scripts/Python/finish-swig-Python-LLDB.sh +++ b/lldb/scripts/Python/finish-swig-Python-LLDB.sh @@ -33,6 +33,10 @@ CONFIG_BUILD_DIR=$3 PYTHON_INSTALL_DIR=$4 debug_flag=$5 +# Make sure SDKROOT is not set, since if it is this is an iOS build where python +# is disabled +if [ "x$SDKROOT" = "x" ] ; then + if [ -n "$debug_flag" -a "$debug_flag" == "-debug" ] then Debug=1 @@ -180,5 +184,7 @@ else fi fi +fi + exit 0 |