From dae31daf6401bf17e19f2a65eef062baf9ce6a3c Mon Sep 17 00:00:00 2001 From: Charles Davis Date: Fri, 20 May 2011 18:14:37 +0000 Subject: [PATCH] When installing the binary part of the LLDB Python modules, symlink to the installed liblldb instead of the built one. Now Python support won't break if you clean your build directories. llvm-svn: 131741 --- lldb/source/Interpreter/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Interpreter/Makefile b/lldb/source/Interpreter/Makefile index 03acded3c878..9bd75558206a 100644 --- a/lldb/source/Interpreter/Makefile +++ b/lldb/source/Interpreter/Makefile @@ -24,7 +24,7 @@ else PYTHON_DEST_DIR := $(shell python -c 'import sys; print sys.exec_prefix')/lib/python$(shell python -c 'import sys; print sys.version[:3]')/site-packages endif LLDB_SWIG_INCLUDE_DIRS:= -I"$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/include" -I./. -LIBLLDB := $(PROJ_OBJ_ROOT)/$(BuildMode)/lib/liblldb$(SHLIBEXT) +LIBLLDB := $(DESTDIR)$(PROJ_libdir)/liblldb$(SHLIBEXT) # We need Swig to process stdint.h, but by default it will not inspect system # include directories. The following should cover the standard locations on