From 1d156f947903630e1bfcc7fc3debb9b777773ad4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 28 Sep 2006 15:10:11 +0000 Subject: 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) --- source4/build/m4/check_ld.m4 | 6 +----- 1 file changed, 1 insertion(+), 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=" -- cgit