forked from OSchip/llvm-project
Add variable named PLATFORMLIBDL to control OS-specific usage of libdl.
llvm-svn: 6752
This commit is contained in:
parent
44a4adfad2
commit
c5ddcae8f5
|
@ -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.)
|
||||
|
|
|
@ -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.
|
||||
#
|
||||
|
|
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue