diff --git a/configure b/configure index fb85f2efed..e3d5874447 100755 --- a/configure +++ b/configure @@ -19432,6 +19432,9 @@ $as_echo "#define ATF_TEST 1" >>confdefs.h STD_CINCLUDES="$STD_CINCLUDES -I$atf/include" ATFBIN="$atf/bin" ATFLIBS="-L$atf/lib -latf-c" + if test "$want_openssl_hash" = yes; then + ATFLIBS="-L$atf/lib -latf-c $DNS_CRYPTO_LIBS" + fi UNITTESTS=tests fi