From 60cd65aac249da6456565870f6d46089ee5ac4d6 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 15 Nov 2015 01:56:21 +0000 Subject: Allow to override python-config executable name from command line Summary: pkgsrc (on NetBSD) ships with python2.7-config. Patch by Kamil Rytarowski. Thanks! Reviewers: emaste, clayborg Subscribers: brucem, lldb-commits, joerg Differential Revision: http://reviews.llvm.org/D14528 llvm-svn: 253152 --- lldb/scripts/Python/modules/readline/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lldb/scripts/Python/modules') 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 := -- cgit v1.2.3