summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-21 22:31:25 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-21 22:31:25 +0000
commitab25a258c0c5486e513f0ab5e04c1923e9355a26 (patch)
tree0bc8e0ee83fb7054bab327419115dd84ef1f1cd1 /source3/configure.in
parent522cc6781f9b0acd88166fc25e6e3ebe58a322ce (diff)
downloadsamba-ab25a258c0c5486e513f0ab5e04c1923e9355a26.tar.gz
samba-ab25a258c0c5486e513f0ab5e04c1923e9355a26.tar.bz2
samba-ab25a258c0c5486e513f0ab5e04c1923e9355a26.zip
Patch from colo (on IRC) to get libsmbclient building due to pstring/fstring
issues. Also pick up these link failures at compile time (rather than runtime). Andrew Bartlett (This used to be commit 23c7342bc40daffbcd70ef04727cae2c2b2c366b)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index b6fabe6085..5d7a65f620 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -914,7 +914,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 -Wl,-no-undefined"
DYNEXP="-Wl,--export-dynamic"
PICFLAG="-fPIC"
SONAMEFLAG="-Wl,-soname="