From: W.C.A. Wijngaards Date: Mon, 5 Dec 2016 13:22:27 +0000 (+0100) Subject: Fix configure get0_dane check order of crypto and ssl library link X-Git-Tag: release-1.7.0~2^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a038032534419f6b3deb15c9612da5aba5470823;p=thirdparty%2Fldns.git Fix configure get0_dane check order of crypto and ssl library link --- diff --git a/configure.ac b/configure.ac index 2b182bec..6660e98a 100644 --- a/configure.ac +++ b/configure.ac @@ -459,7 +459,7 @@ case "$enable_dane" in AC_SUBST(ldns_build_config_use_dane_ta_usage, 0) ;; *) dnl default - LIBS="$LIBS -lssl" + LIBS="-lssl $LIBS" AC_CHECK_FUNC(SSL_get0_dane, [], [AC_MSG_ERROR([OpenSSL does not support offline DANE verification (Needed for the DANE-TA usage type). Please upgrade OpenSSL to version >= 1.1.0 or rerun with --disable-dane-verify or --disable-dane-ta-usage])]) LIBSSL_LIBS="$LIBSSL_LIBS -lssl" AC_SUBST(ldns_build_config_use_dane_ta_usage, 1)