summaryrefslogtreecommitdiff
path: root/tools/lli/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/lli/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/lli/Makefile')
-rw-r--r--tools/lli/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lli/Makefile b/tools/lli/Makefile
index da98f66116..6ee2d3f3ab 100644
--- a/tools/lli/Makefile
+++ b/tools/lli/Makefile
@@ -29,6 +29,6 @@ USEDLIBS = lli-interpreter $(JITLIBS) $(ARCHLIBS) scalaropts analysis.a \
# Have gcc tell the linker to export symbols from the program so that
# dynamically loaded modules can be linked against them.
#
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = $(PLATFORMLIBDL)
include $(LEVEL)/Makefile.common