summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2011-05-20 18:14:37 +0000
committerCharles Davis <cdavis@mines.edu>2011-05-20 18:14:37 +0000
commitdae31daf6401bf17e19f2a65eef062baf9ce6a3c (patch)
tree18c234aa57b3ad9ca66598f405265b6b6fe6ca02
parentad00f3d0b9956f7bf5b57707c8a01bc2dd39175d (diff)
downloadbcm5719-llvm-dae31daf6401bf17e19f2a65eef062baf9ce6a3c.tar.gz
bcm5719-llvm-dae31daf6401bf17e19f2a65eef062baf9ce6a3c.zip
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
-rw-r--r--lldb/source/Interpreter/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/Makefile b/lldb/source/Interpreter/Makefile
index 03acded3c87..9bd75558206 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
OpenPOWER on IntegriCloud