summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 26e86fe..45330f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,7 @@ AM_PROG_CC_C_O
dnl Checks for libraries.
AC_CHECK_LIB(pthread, pthread_mutex_lock,,
[AC_MSG_ERROR([could not find pthread_mutex_lock])])
-AC_CHECK_LIB(dl, dlopen,,
+AC_SEARCH_LIBS([dlopen], [dl dld], [],
[AC_MSG_ERROR([could not find dlopen])])