diff options
author | Greg Clayton <gclayton@apple.com> | 2011-02-05 02:32:19 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-02-05 02:32:19 +0000 |
commit | 8a9ef34039b170de42b59e142d7ccc7b7637e353 (patch) | |
tree | 69a47d3a50fcc4ea387b4d648a84d5915a4c895b /lldb/lib | |
parent | 9c139319f8b1c83a573a6ed9ee916883565634b3 (diff) | |
download | bcm5719-llvm-8a9ef34039b170de42b59e142d7ccc7b7637e353.tar.gz bcm5719-llvm-8a9ef34039b170de42b59e142d7ccc7b7637e353.zip |
Python override patch from Jai Menon.
llvm-svn: 124929
Diffstat (limited to 'lldb/lib')
-rw-r--r-- | lldb/lib/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile index fffcab66e95..75f0673819a 100644 --- a/lldb/lib/Makefile +++ b/lldb/lib/Makefile @@ -17,6 +17,8 @@ NO_BUILD_ARCHIVE = 1 LINK_LIBS_IN_SHARED = 1 SHARED_LIBRARY = 1 +PYTHON_BUILD_FLAGS = -lpython2.6 + # Include all archives in liblldb.a files USEDLIBS = lldbAPI.a \ lldbBreakpoint.a \ @@ -84,7 +86,7 @@ ifeq ($(HOST_OS),Darwin) LLVMLibsOptions += -avoid-version LLVMLibsOptions += -F/System/Library/Frameworks -F/System/Library/PrivateFrameworks LLVMLibsOptions += -framework Foundation -framework CoreFoundation - LLVMLibsOptions += -framework DebugSymbols -lpython2.6 -lobjc + LLVMLibsOptions += -framework DebugSymbols $(PYTHON_BUILD_FLAGS) -lobjc LLVMLibsOptions += -Wl,-exported_symbols_list -Wl,"$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/resources/lldb-framework-exports" # Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/') @@ -101,5 +103,5 @@ ifeq ($(HOST_OS), Linux) # Don't allow unresolved symbols. LLVMLibsOptions += -Wl,--no-undefined # Link in python - LD.Flags += -lpython2.6 + LD.Flags += $(PYTHON_BUILD_FLAGS) endif |