diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2014-02-26 15:05:48 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2014-02-26 15:05:48 +0000 |
commit | 743e2b2139af26dcc6102198288b85ba1234dcb3 (patch) | |
tree | bfc56dbb65cc8f7ef4d06b28bf8b41e3c8621897 /lldb/scripts/Python | |
parent | 1eda305a5298d0a01237b59e0482c89a71a9f3d0 (diff) | |
download | bcm5719-llvm-743e2b2139af26dcc6102198288b85ba1234dcb3.tar.gz bcm5719-llvm-743e2b2139af26dcc6102198288b85ba1234dcb3.zip |
* 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
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r-- | lldb/scripts/Python/modules/readline/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/scripts/Python/modules/readline/Makefile b/lldb/scripts/Python/modules/readline/Makefile index f177ccff51f..9ccd75dc1a8 100644 --- a/lldb/scripts/Python/modules/readline/Makefile +++ b/lldb/scripts/Python/modules/readline/Makefile @@ -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 |