From: Tim Potter Date: Thu, 2 Sep 2004 22:51:12 +0000 (+0000) Subject: r2198: Correct fix for #1360. Need to use -Wl when passing flags to the linker. X-Git-Tag: samba-4.0.0alpha6~801^2~11258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f0b985bdcbe820b3256770a2ac73816070cb62f;p=thirdparty%2Fsamba.git r2198: Correct fix for #1360. Need to use -Wl when passing flags to the linker. (This used to be commit 274a1eda7863368a0d46aed6600c29ec5e30f406) --- diff --git a/source3/configure.in b/source3/configure.in index d1f8dfa14b9..8984bb1be32 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 -Bsymbolic" + LDSHFLAGS="-shared -Wl,-Bsymbolic" DYNEXP="-Wl,--export-dynamic" PICFLAGS="-fPIC" SONAMEFLAG="-Wl,-soname="