diff options
Diffstat (limited to 'source4/build/m4/check_ld.m4')
-rw-r--r-- | source4/build/m4/check_ld.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/build/m4/check_ld.m4 b/source4/build/m4/check_ld.m4 index 129ee00ebc..ad514054cd 100644 --- a/source4/build/m4/check_ld.m4 +++ b/source4/build/m4/check_ld.m4 @@ -19,6 +19,7 @@ AC_SUBST(LD) AC_SUBST(LDFLAGS) AC_SUBST(SHLD) AC_SUBST(SHLD_FLAGS) +AC_SUBST(SHLD_UNDEF_FLAGS) AC_SUBST(SHLIBEXT) AC_SUBST(SONAMEFLAG) AC_SUBST(PICFLAG) @@ -42,7 +43,8 @@ AC_MSG_CHECKING([ability to build shared libraries]) case "$host_os" in *linux*) BLDSHARED="true" - SHLD_FLAGS="-shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined" + SHLD_FLAGS="-shared -Wl,-Bsymbolic" + SHLD_UNDEF_FLAGS="-Wl,--allow-shlib-undefined" LDFLAGS="-Wl,--export-dynamic" PICFLAG="-fPIC" SONAMEFLAG="-Wl,-soname=" |