From: W.C.A. Wijngaards Date: Wed, 9 May 2018 14:54:59 +0000 (+0200) Subject: Fix link for mingw64. X-Git-Tag: release-1.7.1-rc1~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=632dcdd86c460e1e475bee14292fa8123b301e9c;p=thirdparty%2Fldns.git Fix link for mingw64. --- diff --git a/Makefile.in b/Makefile.in index 88c281b0..6ecf0ad4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -189,7 +189,7 @@ $(LDNS_DPA): -o $(LDNS_DPA) $(LDNS_DANE): - $(LINK_EXE) $(LDNS_DANE_LOBJS) $(LIBS) $(LIBSSL_SSL_LIBS) -lldns \ + $(LINK_EXE) $(LDNS_DANE_LOBJS) -lldns $(LIBS) $(LIBSSL_SSL_LIBS) \ -o $(LDNS_DANE) $(EX_SSL_PROGS): diff --git a/configure.ac b/configure.ac index 6c8eee26..b4014425 100644 --- a/configure.ac +++ b/configure.ac @@ -590,7 +590,7 @@ case "$enable_dane" in *) dnl default 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" + LIBSSL_LIBS="-lssl $LIBSSL_LIBS" AC_SUBST(ldns_build_config_use_dane_ta_usage, 1) AC_DEFINE_UNQUOTED([USE_DANE_TA_USAGE], [1], [Define this to enable DANE-TA usage type support.]) ;;