From 743e2b2139af26dcc6102198288b85ba1234dcb3 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 26 Feb 2014 15:05:48 +0000 Subject: * 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 --- lldb/scripts/Python/modules/readline/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/scripts/Python') 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 -- cgit v1.2.3