[Lldb-commits] [lldb] r204459 - Don't build LLDBWrapPython.cpp for mingw.

Hafiz Abid Qadeer hafiz_abid at mentor.com
Fri Mar 21 05:53:28 PDT 2014


Author: abidh
Date: Fri Mar 21 07:53:28 2014
New Revision: 204459

URL: http://llvm.org/viewvc/llvm-project?rev=204459&view=rev
Log:
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.

Modified:
    lldb/trunk/source/Interpreter/Makefile

Modified: lldb/trunk/source/Interpreter/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/Makefile?rev=204459&r1=204458&r2=204459&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/Makefile (original)
+++ lldb/trunk/source/Interpreter/Makefile Fri Mar 21 07:53:28 2014
@@ -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
 





More information about the lldb-commits mailing list