From ab1fd9a1e209ad6a902d8b69f1f7ce0ac51d47d1 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Mon, 21 Jun 2010 04:27:40 +0300 Subject: [PATCH] openbsd has no libdl --- src/autoconf/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autoconf/configure.in b/src/autoconf/configure.in index 0b72ba5..b61bd96 100644 --- a/src/autoconf/configure.in +++ b/src/autoconf/configure.in @@ -1014,7 +1014,7 @@ int main(void) lp_cv_need_lib_crypto=yes )) if test "$lp_cv_need_lib_crypto" = "yes"; then - AC_CHECK_LIB(crypto,main, PKGLIBS="$PKGLIBS -lcrypto -ldl") + AC_CHECK_LIB(crypto,main, PKGLIBS="$PKGLIBS -lcrypto") fi fi fi @@ -1651,7 +1651,7 @@ int main(void) lp_cv_need_lib_crypto=yes )) if test "$lp_cv_need_lib_crypto" = "yes"; then - AC_CHECK_LIB(crypto,main, PKGLIBS="$PKGLIBS -lcrypto -ldl") + AC_CHECK_LIB(crypto,main, PKGLIBS="$PKGLIBS -lcrypto") fi fi