Add variable named PLATFORMLIBDL to control OS-specific usage of libdl.
authorBrian Gaeke <gaeke@uiuc.edu>
Tue, 17 Jun 2003 20:08:02 +0000 (20:08 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Tue, 17 Jun 2003 20:08:02 +0000 (20:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6752 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.FreeBSD
Makefile.Linux
Makefile.SunOS

index 018846be1e7ea203bb6ab802a7c3332584ec812e..7fa0f3d49cc107f256811879cae7083a31e2e329 100644 (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.)
index 553004d7a6d6339dcf9d304e413668acd28ce659..18b50c268dc1e8194d5550c4211833664c067b1d 100644 (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.
 #
index c6508bf1ed50ea245ddeeedc2e08e1ca88bd0d98..bc6b49fe775aa25d5ab141da97ae98d8d5d9a1e8 100644 (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.
 #