summaryrefslogtreecommitdiffstats
path: root/lldb/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lib/Makefile')
-rw-r--r--lldb/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile
index 66efb32033c..8328863167b 100644
--- a/lldb/lib/Makefile
+++ b/lldb/lib/Makefile
@@ -17,7 +17,7 @@ NO_BUILD_ARCHIVE = 1
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1
-PYTHON_BUILD_FLAGS = -lpython2.6
+PYTHON_BUILD_FLAGS = $(shell python-config --ldflags)
# Include all archives in liblldb.a files
USEDLIBS = lldbAPI.a \
OpenPOWER on IntegriCloud