From: Tim Potter Date: Wed, 28 Jul 2004 16:13:43 +0000 (+0000) Subject: r1599: Use -Bsymbolic when creating shared libraries to avoid conflicts with X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5947 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2063b8d9bcf0b2ad9f09d71b5c74ad3db070c6a3;p=thirdparty%2Fsamba.git r1599: Use -Bsymbolic when creating shared libraries to avoid conflicts with identical symbols in the global namespace when loading libnss_wins.so. Bugzilla #1360. --- 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="