From: Johnny Chen Date: Thu, 24 May 2012 18:14:18 +0000 (+0000) Subject: Fix missing Resources/Python directory for macosx build. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0d4b5da35d32d6523ffc403d4ffaea2ba3320df;p=platform%2Fupstream%2Fllvm.git Fix missing Resources/Python directory for macosx build. llvm-svn: 157405 --- diff --git a/lldb/scripts/Python/build-swig-Python.sh b/lldb/scripts/Python/build-swig-Python.sh index be747bf..97b1680 100755 --- a/lldb/scripts/Python/build-swig-Python.sh +++ b/lldb/scripts/Python/build-swig-Python.sh @@ -25,7 +25,7 @@ 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 - # SDKROOT was not empty, which currently means iOS cross build where python is disabled + # LLDB_DISABLE_PYTHON is set, which currently means iOS cross build where python is disabled rm -rf ${swig_output_file} touch ${swig_output_file} diff --git a/lldb/scripts/Python/finish-swig-Python-LLDB.sh b/lldb/scripts/Python/finish-swig-Python-LLDB.sh index 9a9ef05..e7347fa 100755 --- a/lldb/scripts/Python/finish-swig-Python-LLDB.sh +++ b/lldb/scripts/Python/finish-swig-Python-LLDB.sh @@ -33,9 +33,9 @@ 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 +# Make sure LLDB_DISABLE_PYTHON is not set, since if it is this is an iOS build where python # is disabled -if [ "x$SDKROOT" = "x" ] ; then +if [ ! $LLDB_DISABLE_PYTHON = "1" ] ; then if [ -n "$debug_flag" -a "$debug_flag" == "-debug" ] then