diff options
Diffstat (limited to 'lldb/scripts/Python/build-swig-Python.sh')
-rwxr-xr-x | lldb/scripts/Python/build-swig-Python.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/scripts/Python/build-swig-Python.sh b/lldb/scripts/Python/build-swig-Python.sh index 97b1680f2cc..d75f6e76a46 100755 --- a/lldb/scripts/Python/build-swig-Python.sh +++ b/lldb/scripts/Python/build-swig-Python.sh @@ -25,7 +25,10 @@ swig_python_wrapper=${SRC_ROOT}/scripts/Python/python-wrapper.swig swig_python_typemaps=${SRC_ROOT}/scripts/Python/python-typemaps.swig if [ $LLDB_DISABLE_PYTHON = "1" ] ; then - # LLDB_DISABLE_PYTHON is set, which currently means iOS cross build where python is disabled + # We don't want Python for this build, but touch the output file so we don't have to + # conditionalize the build on this as well. + # Note, at present iOS doesn't have Python, so if you're building for iOS be sure to + # set LLDB_DISABLE_PYTHON to 1. rm -rf ${swig_output_file} touch ${swig_output_file} |