diff options
Diffstat (limited to 'lldb/scripts/Python/modules')
-rw-r--r-- | lldb/scripts/Python/modules/readline/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/scripts/Python/modules/readline/Makefile b/lldb/scripts/Python/modules/readline/Makefile index 9ccd75dc1a8..dc0d757bc17 100644 --- a/lldb/scripts/Python/modules/readline/Makefile +++ b/lldb/scripts/Python/modules/readline/Makefile @@ -20,7 +20,8 @@ LINK_LIBS_IN_SHARED = 1 SHARED_LIBRARY = 1 LOADABLE_MODULE = 1 -PYTHON_INC_DIR = $(shell python-config --includes) +PYTHON_CONFIG?= python-config +PYTHON_INC_DIR = $(shell $(PYTHON_CONFIG) --includes) # Include all archives in the shared lib USEDLIBS := |