Author: tpot
Date: 2004-09-02 22:51:12 +0000 (Thu, 02 Sep 2004)
New Revision: 2198

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2198&nolog=1

Log:
Correct fix for #1360.  Need to use -Wl when passing flags to the linker.

Modified:
   branches/SAMBA_3_0/source/configure.in
   trunk/source/configure.in


Changeset:
Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in      2004-09-02 22:49:10 UTC (rev 2197)
+++ branches/SAMBA_3_0/source/configure.in      2004-09-02 22:51:12 UTC (rev 2198)
@@ -1130,7 +1130,7 @@
   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="

Modified: trunk/source/configure.in
===================================================================
--- trunk/source/configure.in   2004-09-02 22:49:10 UTC (rev 2197)
+++ trunk/source/configure.in   2004-09-02 22:51:12 UTC (rev 2198)
@@ -1131,7 +1131,7 @@
   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="

Reply via email to