diff options
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 |