diff options
Diffstat (limited to 'source4/build/m4')
-rw-r--r-- | source4/build/m4/rewrite.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4 index b0c694b1a0..ee73451697 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]) +AC_SEARCH_LIBS(dlopen, [dl], [SMB_EXT_LIB(DL, [-ldl])]) # dlopen/dlclose/dlsym/dlerror will be checked again later and defines will be set then ############################################ |