in lldb/scripts/Python/build-swig-Python.sh, see the patch below.

diff --git a/tools/lldb/scripts/Python/build-swig-Python.sh
b/tools/lldb/scripts/Python/build-swig-Python.sh
--- a/tools/lldb/scripts/Python/build-swig-Python.sh
+++ b/tools/lldb/scripts/Python/build-swig-Python.sh
@@ -356,7 +356,7 @@
 current_dir=`pwd`
 if [ -f "${current_dir}/modify-python-lldb.py" ]
 then
-    python ${current_dir}/modify-python-lldb.py ${CONFIG_BUILD_DIR}
+    /usr/bin/env python ${current_dir}/modify-python-lldb.py
${CONFIG_BUILD_DIR}
 fi
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to