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
This commit is contained in:
Brian Gaeke 2003-06-17 20:09:18 +00:00
parent 5768ff4850
commit 5285270871
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -2,7 +2,7 @@ LEVEL = ../..
TOOLNAME = analyze
USEDLIBS = asmparser bcreader scalaropts.a transforms.a analysis ipa \
datastructure target.a transformutils.a scalaropts.a vmcore support
TOOLLINKOPTS = -ldl
TOOLLINKOPTS = $(PLATFORMLIBDL)
include $(LEVEL)/Makefile.common

View File

@ -8,6 +8,6 @@ ANALIBS = datastructure ipa target.a
USEDLIBS = ipo scalaropts analysis $(OPTLIBS) $(ANALIBS) \
transformutils asmparser bcreader bcwriter vmcore support
TOOLLINKOPTS = -ldl
TOOLLINKOPTS = $(PLATFORMLIBDL)
include $(LEVEL)/Makefile.common

View File

@ -18,7 +18,7 @@ USEDLIBS = mapping \
bcwriter \
vmcore \
support
TOOLLINKOPTS = -ldl
TOOLLINKOPTS = $(PLATFORMLIBDL)
include $(LEVEL)/Makefile.common

View File

@ -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

View File

@ -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