diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2019-02-02 17:32:01 +0300 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2019-02-02 17:32:01 +0300 |
commit | ad3af2a1ab9428a443af5600c22d0530b275514a (patch) | |
tree | 5acf0e661dd1c3cdf3a2704f21fedfb3884b96f2 /configure.ac | |
parent | 5f7b10e632971cadf277208d3fde711c35868ccb (diff) | |
download | gnutls-ad3af2a1ab9428a443af5600c22d0530b275514a.tar.gz |
build: pass NETTLE_LIBS together with HOGWEED_LIBS
libhogweed might depend on exact non-system-wide nettle, so let's pass
NETTLE_LIBS flags together when using HOGWEED_LIBS.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7568363ef3..b740bad029 100644 --- a/configure.ac +++ b/configure.ac @@ -537,7 +537,7 @@ AC_ARG_ENABLE(non-suiteb-curves, if test "$enable_non_suiteb" = "yes";then dnl nettle_secp_192r1 is not really a function - AC_CHECK_LIB(hogweed, nettle_secp_192r1, enable_non_suiteb=yes, enable_non_suiteb=no, [$HOGWEED_LIBS]) + AC_CHECK_LIB(hogweed, nettle_secp_192r1, enable_non_suiteb=yes, enable_non_suiteb=no, [$HOGWEED_LIBS $NETTLE_LIBS]) if test "$enable_non_suiteb" = "yes";then AC_DEFINE([ENABLE_NON_SUITEB_CURVES], 1, [Enable all curves]) @@ -547,7 +547,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" +LIBS="$LIBS $HOGWEED_LIBS $NETTLE_LIBS" AC_CHECK_FUNCS(nettle_rsa_sec_decrypt, [], [AC_MSG_ERROR([Nettle lacks the required rsa_sec_decrypt function])] |