summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-09-02 22:51:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:35 -0500
commit0f0b985bdcbe820b3256770a2ac73816070cb62f (patch)
tree157f4198470aa0a7f81ee008bd5d99f049494804 /source3
parent51336f27516c2a7d1ece507efeb14054f3cd9e7e (diff)
downloadsamba-0f0b985bdcbe820b3256770a2ac73816070cb62f.tar.gz
samba-0f0b985bdcbe820b3256770a2ac73816070cb62f.tar.bz2
samba-0f0b985bdcbe820b3256770a2ac73816070cb62f.zip
r2198: Correct fix for #1360. Need to use -Wl when passing flags to the linker.
(This used to be commit 274a1eda7863368a0d46aed6600c29ec5e30f406)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index d1f8dfa14b..8984bb1be3 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="