summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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="