From: Brian Gaeke Date: Tue, 17 Jun 2003 20:08:02 +0000 (+0000) Subject: Add variable named PLATFORMLIBDL to control OS-specific usage of libdl. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5768ff48507f990a18385464a78fe36f1d972b86;p=oota-llvm.git Add variable named PLATFORMLIBDL to control OS-specific usage of libdl. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6752 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.FreeBSD b/Makefile.FreeBSD index 018846be1e7..7fa0f3d49cc 100644 --- a/Makefile.FreeBSD +++ b/Makefile.FreeBSD @@ -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.) diff --git a/Makefile.Linux b/Makefile.Linux index 553004d7a6d..18b50c268dc 100644 --- a/Makefile.Linux +++ b/Makefile.Linux @@ -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. # diff --git a/Makefile.SunOS b/Makefile.SunOS index c6508bf1ed5..bc6b49fe775 100644 --- a/Makefile.SunOS +++ b/Makefile.SunOS @@ -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. #