diff options
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2014-03-21 12:53:28 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2014-03-21 12:53:28 +0000 |
commit | 8455c44e6cac3aa7bac2cee83e9bd9312f129b51 (patch) | |
tree | 6d36d3225c6f8f13c47d69991ba70504fb6f4709 /lldb | |
parent | a125d53a7b35cff606b9250feeb64e9761a3a308 (diff) | |
download | bcm5719-llvm-8455c44e6cac3aa7bac2cee83e9bd9312f129b51.tar.gz bcm5719-llvm-8455c44e6cac3aa7bac2cee83e9bd9312f129b51.zip |
Don't build LLDBWrapPython.cpp for mingw.
Previous check relied on -DLLDB_DISABLE_PYTHON which was not valid as
it is defined in the top level LLDB Makefile which is included after the check.
If this check is moved after the inclusion of top level Makefile then
BUILT_SOURCES is not properly handled. So I am using the scheme present
in the Host/Makefile.
llvm-svn: 204459
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/source/Interpreter/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/Makefile b/lldb/source/Interpreter/Makefile index a788b5ba511..bbdf7be9aa1 100644 --- a/lldb/source/Interpreter/Makefile +++ b/lldb/source/Interpreter/Makefile @@ -10,8 +10,9 @@ LLDB_LEVEL := ../.. LIBRARYNAME := lldbInterpreter BUILD_ARCHIVE = 1 +include $(LLDB_LEVEL)/../../Makefile.config -ifeq (,$(findstring -DLLDB_DISABLE_PYTHON,$(CXXFLAGS))) +ifneq ($(HOST_OS),MingW) BUILT_SOURCES := LLDBWrapPython.cpp endif |