r18974: we don't have the configure check that sets
authorStefan Metzmacher <metze@samba.org>
Thu, 28 Sep 2006 15:10:11 +0000 (15:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:20:25 +0000 (14:20 -0500)
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

index af096243edd35fe7d5316a7630fcb9f1fc343f4d..3c8644dda9afd747dac454f7eb16f895be8cb544 100644 (file)
@@ -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="