From de22182b339a8746221ab09f67f1b39b5912e109 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Sat, 26 May 2012 00:23:52 +0000 Subject: Fix the comments about LLDB_DISABLE_PYTHON in the python swig shell scripts to be more clear. llvm-svn: 157506 --- lldb/scripts/Python/build-swig-Python.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lldb/scripts/Python/build-swig-Python.sh') 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} -- cgit v1.2.3