summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-28 15:10:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:25 -0500
commit1d156f947903630e1bfcc7fc3debb9b777773ad4 (patch)
treeb8c6c33a3e4c8798c688f548d5e821d15eec3d30 /source4/build
parent5d31bce8b6070e13ce7e2e8e3dee273233b42c46 (diff)
downloadsamba-1d156f947903630e1bfcc7fc3debb9b777773ad4.tar.gz
samba-1d156f947903630e1bfcc7fc3debb9b777773ad4.tar.bz2
samba-1d156f947903630e1bfcc7fc3debb9b777773ad4.zip
r18974: we don't have the configure check that sets
ac_cv_gnu_ld_no_default_allow_shlib_undefined and as -Wl,--allow-shlib-undefined is supported on SuSE 7.3 I don't see a problem is always pass it explicit metze (This used to be commit 79db6bddc5fc1b97f0165348f72b6a2489b62be0)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/m4/check_ld.m46
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/build/m4/check_ld.m4 b/source4/build/m4/check_ld.m4
index af096243ed..3c8644dda9 100644
--- a/source4/build/m4/check_ld.m4
+++ b/source4/build/m4/check_ld.m4
@@ -42,11 +42,7 @@ AC_MSG_CHECKING([ability to build shared libraries])
case "$host_os" in
*linux*)
BLDSHARED="true"
- if test "${ac_cv_gnu_ld_no_default_allow_shlib_undefined}" = "yes"; then
- SHLD_FLAGS="-shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined"
- else
- SHLD_FLAGS="-shared -Wl,-Bsymbolic"
- fi
+ SHLD_FLAGS="-shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined"
LDFLAGS="-Wl,--export-dynamic"
PICFLAG="-fPIC"
SONAMEFLAG="-Wl,-soname="