From 632dcdd86c460e1e475bee14292fa8123b301e9c Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Wed, 9 May 2018 16:54:59 +0200 Subject: [PATCH] Fix link for mingw64. --- Makefile.in | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.]) ;; -- 2.47.3