summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-12-25 21:49:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:38 -0500
commit44b83e736e85fc4881dc0e56ea64e8bc4542e71b (patch)
treee53084a7f2f93dd3b1b80d4debb704a6e424c1cf /source4
parent24f209e89934cd9c522e2225e47cd6788834ba1f (diff)
downloadsamba-44b83e736e85fc4881dc0e56ea64e8bc4542e71b.tar.gz
samba-44b83e736e85fc4881dc0e56ea64e8bc4542e71b.tar.bz2
samba-44b83e736e85fc4881dc0e56ea64e8bc4542e71b.zip
r4362: dlopen() doesn't imply -ldl
Should fix the build on several *BSD systems that have dlopen() in libc (This used to be commit 6d2b8e71c177d1d35a8b975cd5f24089aaa2bb49)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/m4/rewrite.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4
index ddda3e8128..8960ea707c 100644
--- a/source4/build/m4/rewrite.m4
+++ b/source4/build/m4/rewrite.m4
@@ -281,7 +281,7 @@ AC_CHECK_TYPES(intptr_t)
############################################
# we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the plugin loading code
-AC_SEARCH_LIBS(dlopen, [dl], [SMB_EXT_LIB(DL, [-ldl])])
+AC_SEARCH_LIBS(dlopen, [dl], [SMB_EXT_LIB(DL, [$ac_cv_search_dlopen])])
# dlopen/dlclose/dlsym/dlerror will be checked again later and defines will be set then
############################################