summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-03-14 18:24:30 +0000
committerGreg Clayton <gclayton@apple.com>2014-03-14 18:24:30 +0000
commit9bb8cb19651aca8ece50e72402ae6c39a1264504 (patch)
treee9f24e651446027b3735839a1a00e8c91c7e0b85 /lldb/scripts
parenteb4592b18d00ceb60b106a77bb74b4bb0ee7b5c9 (diff)
downloadbcm5719-llvm-9bb8cb19651aca8ece50e72402ae6c39a1264504.tar.gz
bcm5719-llvm-9bb8cb19651aca8ece50e72402ae6c39a1264504.zip
Move LLDBWrapPython.cpp into the build folder for Xcode builds so it doesn't muck with cmake builds.
llvm-svn: 203956
Diffstat (limited to 'lldb/scripts')
-rwxr-xr-xlldb/scripts/Python/build-swig-Python.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/lldb/scripts/Python/build-swig-Python.sh b/lldb/scripts/Python/build-swig-Python.sh
index 34a1ff27ff3..402d0852006 100755
--- a/lldb/scripts/Python/build-swig-Python.sh
+++ b/lldb/scripts/Python/build-swig-Python.sh
@@ -36,12 +36,7 @@ else
GenerateDependencies=0
fi
-if [ $MakefileCalled -eq 0 ]
-then
- swig_output_file=${SRC_ROOT}/source/LLDBWrapPython.cpp
-else
- swig_output_file=${TARGET_DIR}/LLDBWrapPython.cpp
-fi
+swig_output_file=${TARGET_DIR}/LLDBWrapPython.cpp
swig_input_file=${SRC_ROOT}/scripts/lldb.swig
swig_python_extensions=${SRC_ROOT}/scripts/Python/python-extensions.swig
swig_python_wrapper=${SRC_ROOT}/scripts/Python/python-wrapper.swig
OpenPOWER on IntegriCloud