configure: Link against potential -ldl when checking for OpenSSL libcrypto
This commit is contained in:
+2
-1
@@ -1069,7 +1069,8 @@ if test x$sqlite = xtrue; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$openssl = xtrue; then
|
if test x$openssl = xtrue; then
|
||||||
AC_CHECK_LIB([$openssl_lib],[main],[LIBS="$LIBS"],[AC_MSG_ERROR([OpenSSL lib$openssl_lib not found])],[])
|
AC_CHECK_LIB([$openssl_lib],[main],[LIBS="$LIBS"],
|
||||||
|
[AC_MSG_ERROR([OpenSSL lib$openssl_lib not found])],[$DLLIB])
|
||||||
AC_CHECK_HEADER([openssl/evp.h],,[AC_MSG_ERROR([OpenSSL header openssl/evp.h not found!])])
|
AC_CHECK_HEADER([openssl/evp.h],,[AC_MSG_ERROR([OpenSSL header openssl/evp.h not found!])])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user