git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24f209e
)
r4362: dlopen() doesn't imply -ldl
author
Jelmer Vernooij
<jelmer@samba.org>
Sat, 25 Dec 2004 21:49:21 +0000
(21:49 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:07:38 +0000
(13:07 -0500)
Should fix the build on several *BSD systems that have dlopen() in libc
(This used to be commit
6d2b8e71c177d1d35a8b975cd5f24089aaa2bb49
)
source4/build/m4/rewrite.m4
patch
|
blob
|
history
diff --git
a/source4/build/m4/rewrite.m4
b/source4/build/m4/rewrite.m4
index ddda3e8128b6cff11b8fe12bf0beeb5a793373cf..8960ea707c909bc552e317cc4b73d816aed66959 100644
(file)
--- 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
############################################