summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-07-28 16:13:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:16 -0500
commit2063b8d9bcf0b2ad9f09d71b5c74ad3db070c6a3 (patch)
tree1a1ab7d0952d877bd2448faa9cb2eeec6d1b1306
parent2d68fdf06b3b027227ab77372b001b13fd2b494d (diff)
downloadsamba-2063b8d9bcf0b2ad9f09d71b5c74ad3db070c6a3.tar.gz
samba-2063b8d9bcf0b2ad9f09d71b5c74ad3db070c6a3.tar.xz
samba-2063b8d9bcf0b2ad9f09d71b5c74ad3db070c6a3.zip
r1599: Use -Bsymbolic when creating shared libraries to avoid conflicts with
identical symbols in the global namespace when loading libnss_wins.so. Bugzilla #1360.
-rw-r--r--source/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/configure.in b/source/configure.in
index d6285ce2d55..4076f654ef8 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -1130,7 +1130,7 @@ if test "$enable_shared" = "yes"; then
case "$host_os" in
*linux*) AC_DEFINE(LINUX,1,[Whether the host os is linux])
BLDSHARED="true"
- LDSHFLAGS="-shared"
+ LDSHFLAGS="-shared -Bsymbolic"
DYNEXP="-Wl,--export-dynamic"
PICFLAGS="-fPIC"
SONAMEFLAG="-Wl,-soname="