summaryrefslogtreecommitdiff
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
commit6179279472ae94f429c06ed86f3d54302e1ec92c (patch)
tree19eb2a00d16acc0d0da51a067f2b15aa9e2f57f3
parent68f62ab74e3f462faf7a010b40e2d8ba1fb865d2 (diff)
downloadsamba-6179279472ae94f429c06ed86f3d54302e1ec92c.tar.gz
samba-6179279472ae94f429c06ed86f3d54302e1ec92c.tar.bz2
samba-6179279472ae94f429c06ed86f3d54302e1ec92c.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. (This used to be commit 2063b8d9bcf0b2ad9f09d71b5c74ad3db070c6a3)
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index d6285ce2d5..4076f654ef 100644
--- a/source3/configure.in
+++ b/source3/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="