aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-09-17 20:40:24 +0000
committerChris Lattner <sabre@nondot.org>2002-09-17 20:40:24 +0000
commit72e66f47096a7d7403b7b453fa8603873f3b072a (patch)
treef4661a28377839a9e0a8546a3c287759b8e31b0d /tools/opt/Makefile
parent44756999dc40c059c7bf0c0c7d9ca462e00541bc (diff)
downloadexternal_llvm-72e66f47096a7d7403b7b453fa8603873f3b072a.zip
external_llvm-72e66f47096a7d7403b7b453fa8603873f3b072a.tar.gz
external_llvm-72e66f47096a7d7403b7b453fa8603873f3b072a.tar.bz2
Enable correct support for dynamic loading on Linux
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/Makefile')
-rw-r--r--tools/opt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/Makefile b/tools/opt/Makefile
index 88fd85b..9a016df 100644
--- a/tools/opt/Makefile
+++ b/tools/opt/Makefile
@@ -6,7 +6,7 @@ USEDLIBS = bcreader bcwriter instrument profpaths \
livevar scalaropts \
ipo ipa.a datastructure.a transforms target.a analysis \
transformutils vmcore support
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = -ldl $(ExportSymbols)
include $(LEVEL)/Makefile.common