]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
configure.ac: fix "nettle_rsa_sec_decrypt" check error
authorDmitriy Tsvettsikh <dmitrycvet@gmail.com>
Tue, 16 Feb 2021 23:28:47 +0000 (04:28 +0500)
committerDmitriy Tsvettsikh <dmitrycvet@gmail.com>
Tue, 16 Feb 2021 23:28:47 +0000 (04:28 +0500)
When libhogweed built with external gmplib, then it required explicit
path to gmplib to pass check.

Signed-off-by: Dmitriy Tsvettsikh <dmitrycvet@gmail.com>
configure.ac

index 820cbf2117f4d25869f1134f51c248ec799e7a12..05985bd72d95f19eba1f7fa3d2299f018fc125bf 100644 (file)
@@ -647,7 +647,7 @@ AM_CONDITIONAL(ENABLE_NON_SUITEB_CURVES, test "$enable_non_suiteb" = "yes")
 
 # We MUST require a Nettle version that has rsa_sec_decrypt now.
 save_LIBS=$LIBS
-LIBS="$LIBS $HOGWEED_LIBS $NETTLE_LIBS"
+LIBS="$LIBS $HOGWEED_LIBS $NETTLE_LIBS $GMP_LIBS"
 AC_CHECK_FUNCS(nettle_rsa_sec_decrypt,
     [],
     [AC_MSG_ERROR([Nettle lacks the required rsa_sec_decrypt function])]