summaryrefslogtreecommitdiff
path: root/tools/opt/Makefile
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-06-17 20:09:18 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-06-17 20:09:18 +0000
commit52852708714c59baf1b0426bffe5d1546af61d46 (patch)
tree525067da8952a89e709eef7266b1b11604420eff /tools/opt/Makefile
parent5768ff48507f990a18385464a78fe36f1d972b86 (diff)
downloadllvm-52852708714c59baf1b0426bffe5d1546af61d46.tar.gz
llvm-52852708714c59baf1b0426bffe5d1546af61d46.tar.bz2
llvm-52852708714c59baf1b0426bffe5d1546af61d46.tar.xz
Use $(PLATFORMLIBDL) to selectively bring in -ldl only on those platforms where
it is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6753 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 bc27e26501..ba23dabdb9 100644
--- a/tools/opt/Makefile
+++ b/tools/opt/Makefile
@@ -6,6 +6,6 @@ USEDLIBS = bcreader bcwriter \
ipo ipa.a datastructure transforms target.a analysis \
transformutils vmcore support
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = $(PLATFORMLIBDL)
include $(LEVEL)/Makefile.common