From 6179279472ae94f429c06ed86f3d54302e1ec92c Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 28 Jul 2004 16:13:43 +0000 Subject: 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) --- source3/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=" -- cgit