Add variable named PLATFORMLIBDL to control OS-specific usage of libdl.

llvm-svn: 6752
This commit is contained in:
Brian Gaeke 2003-06-17 20:08:02 +00:00
parent 44a4adfad2
commit c5ddcae8f5
3 changed files with 9 additions and 0 deletions

View File

@ -22,6 +22,9 @@ PLATFORMLINKOPTS := -Wl,--export-dynamic
# stripped from the resultant binary.
PLATFORMSTRIPOPTS := -Wl,-x
# PLATFORMLIBDL - FreeBSD does not have libdl; dlsym() is in libc.
PLATFORMLIBDL :=
# Path to location for LLVM front-end for this architecture. This setting may
# be overriden by the Makefile.config option, and should not override it if set.
# (Using Linux GCC front-end for now.)

View File

@ -22,6 +22,9 @@ PLATFORMLINKOPTS := -Wl,--export-dynamic
# stripped from the resultant binary.
PLATFORMSTRIPOPTS := -Wl,-x
# PLATFORMLIBDL - Library that supports dlsym() et al.
PLATFORMLIBDL := -ldl
# Path to location for LLVM front-end for this architecture. This setting may
# be overriden by the Makefile.config option, and should not override it if set.
#

View File

@ -24,6 +24,9 @@ PLATFORMLINKOPTS := -lmalloc
#
PLATFORMSTRIPOPTS :=
# PLATFORMLIBDL - Library that supports dlsym() et al.
PLATFORMLIBDL := -ldl
# Path to location for LLVM front-end for this architecture. This setting may
# be overriden by the Makefile.config option, and should not override it if set.
#