From 44b83e736e85fc4881dc0e56ea64e8bc4542e71b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 25 Dec 2004 21:49:21 +0000 Subject: 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) --- source4/build/m4/rewrite.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/build') 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 ############################################ -- cgit