[Lldb-commits] [PATCH] Fix build on Linux with DISABLE_PYTHON enabled

Ed Maste emaste at freebsd.org
Fri Aug 15 08:24:03 PDT 2014


This is really "Fix configure & make build without Python" I think.  I've built w/o Python just fine via CMake + Ninja.

================
Comment at: source/Interpreter/Makefile:17
@@ -16,1 +16,3 @@
+ifeq (,$(findstring -DLLDB_DISABLE_PYTHON,$(CXXFLAGS)))
+DO_BUILD = 1
 BUILT_SOURCES := LLDBWrapPython.cpp
----------------
I'd prefer a more descriptive name (even though it's used immediately below).

================
Comment at: source/Plugins/Process/POSIX/Makefile:17
@@ -16,3 +16,3 @@
 # Extend the include path so we may locate UnwindLLDB.h
-CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility
+CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility
 
----------------
It looks like there are a few other instances in the tree needing the same change

http://reviews.llvm.org/D4918






More information about the lldb-commits mailing list