* 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/

llvm-svn: 202270
This commit is contained in:
Sylvestre Ledru 2014-02-26 15:05:48 +00:00
parent 1eda305a52
commit 743e2b2139
1 changed files with 2 additions and 2 deletions

View File

@ -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