summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-09-17 20:40:22 +0000
committerChris Lattner <sabre@nondot.org>2002-09-17 20:40:22 +0000
commit44756999dc40c059c7bf0c0c7d9ca462e00541bc (patch)
tree24c9537c161e22861b97ca2c631250c0e0e4aa57
parentb379470b90391aa0dc6fb35d58315fccac1fadff (diff)
Enable correct support for dynamic loading on Linux
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3779 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/analyze/Makefile2
-rw-r--r--tools/llc/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/analyze/Makefile b/tools/analyze/Makefile
index 57152ac5cdb..9add20b9a0d 100644
--- a/tools/analyze/Makefile
+++ b/tools/analyze/Makefile
@@ -2,7 +2,7 @@ LEVEL = ../..
TOOLNAME = analyze
USEDLIBS = asmparser bcreader scalaropts.a transforms.a analysis ipa \
datastructure target.a transformutils.a vmcore support
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = -ldl $(ExportSymbols)
include $(LEVEL)/Makefile.common
diff --git a/tools/llc/Makefile b/tools/llc/Makefile
index c8a3042f42d..9bf2f24ffa1 100644
--- a/tools/llc/Makefile
+++ b/tools/llc/Makefile
@@ -3,7 +3,7 @@ TOOLNAME = llc
USEDLIBS = mapping sparc target.a regalloc sched select preselect target.a \
instrument livevar bcreader bcwriter ipo ipa.a datastructure.a \
scalaropts transforms analysis transformutils vmcore support
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = -ldl $(ExportSymbols)
include $(LEVEL)/Makefile.common