[Lldb-commits] [lldb] r202270 - * Rename PYTHON_INCLUDES to PYTHON_INC_DIR to match the similar declaration

Sylvestre Ledru sylvestre at debian.org
Wed Feb 26 07:05:49 PST 2014


Author: sylvestre
Date: Wed Feb 26 09:05:48 2014
New Revision: 202270

URL: http://llvm.org/viewvc/llvm-project?rev=202270&view=rev
Log:
* Rename PYTHON_INCLUDES to PYTHON_INC_DIR to match the similar declaration
in lldb.svn/Makefile
* Use CPP.Flags to export the declaration. The current solution broke all builds
on http://llvm-jenkins.debian.net/



Modified:
    lldb/trunk/scripts/Python/modules/readline/Makefile

Modified: lldb/trunk/scripts/Python/modules/readline/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/modules/readline/Makefile?rev=202270&r1=202269&r2=202270&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/modules/readline/Makefile (original)
+++ lldb/trunk/scripts/Python/modules/readline/Makefile Wed Feb 26 09:05:48 2014
@@ -20,7 +20,7 @@ LINK_LIBS_IN_SHARED = 1
 SHARED_LIBRARY = 1
 LOADABLE_MODULE = 1
 
-PYTHON_INCLUDES = $(shell python-config --includes)
+PYTHON_INC_DIR = $(shell python-config --includes)
 
 # Include all archives in the shared lib
 USEDLIBS :=
@@ -32,7 +32,7 @@ LINK_COMPONENTS :=
 include $(LEVEL)/Makefile.common
 
 # include python headers
-CXXFLAGS += $(PYTHON_INCLUDES)
+CPP.Flags += $(PYTHON_INC_DIR)
 
 ifeq ($(HOST_OS),Darwin)
     LLVMLibsOptions += -Wl,-all_load





More information about the lldb-commits mailing list