]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r2198: Correct fix for #1360. Need to use -Wl when passing flags to the linker.
authorTim Potter <tpot@samba.org>
Thu, 2 Sep 2004 22:51:12 +0000 (22:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:35 +0000 (10:52 -0500)
source/configure.in

index d1f8dfa14b95b8ec81eda8134aafddccb8da21e5..8984bb1be32a1dde9c4052053c7ed2af0ad07de6 100644 (file)
@@ -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="