summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 4f78de7df7..c2d57f566b 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -228,7 +228,7 @@ AC_CHECK_TYPE(wchar_t, unsigned short)
AC_CHECK_LIB(cups,httpConnect)
# we need libdl for PAM and the new VFS code
-AC_CHECK_LIB(dl,main)
+AC_CHECK_LIB(dl,main, [LDFLAGS="$LDFLAGS -rdynamic"; LIBS="$LIBS -ldl"])
AC_CACHE_CHECK([for sig_atomic_t type],samba_cv_sig_atomic_t, [
AC_TRY_COMPILE([