diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-06-17 20:08:02 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-06-17 20:08:02 +0000 |
commit | 5768ff48507f990a18385464a78fe36f1d972b86 (patch) | |
tree | 3fd35d22aad191f073b0f988f7e19418ace5ce37 | |
parent | 1d0acacc63036fbce5fdc25147918cc0ee867a9d (diff) |
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
-rw-r--r-- | Makefile.FreeBSD | 3 | ||||
-rw-r--r-- | Makefile.Linux | 3 | ||||
-rw-r--r-- | Makefile.SunOS | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.FreeBSD b/Makefile.FreeBSD index 018846be1e..7fa0f3d49c 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 553004d7a6..18b50c268d 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 c6508bf1ed..bc6b49fe77 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. # |