summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-02-03 05:07:06 +0000
committerTim Potter <tpot@samba.org>2000-02-03 05:07:06 +0000
commit71604bb213d369d9ccf9d2d959a80b799d6c4f34 (patch)
tree7899dc1c43d90597bf330265c053a75a5bb91d77 /source3/configure.in
parentf3772fe91d18720bc70fa0052d7ab7952599fab0 (diff)
downloadsamba-71604bb213d369d9ccf9d2d959a80b799d6c4f34.tar.gz
samba-71604bb213d369d9ccf9d2d959a80b799d6c4f34.tar.bz2
samba-71604bb213d369d9ccf9d2d959a80b799d6c4f34.zip
Add -rdynamic to LDFLAGS if libdl found.
(This used to be commit 4c14a343d10bbddd69a1dc5abc9d4f64cf75dacc)
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([