configure: change LIBS not LDFLAGS when checking for libs
Closes #289 Patch-by: maurerpe
This commit is contained in:
parent
600f26ce6e
commit
751e0087a8
@ -107,10 +107,10 @@ if test "$ac_cv_libssl" = "yes"; then
|
|||||||
LIBSREQUIRED=libssl,libcrypto
|
LIBSREQUIRED=libssl,libcrypto
|
||||||
|
|
||||||
# Not all OpenSSL have AES-CTR functions.
|
# Not all OpenSSL have AES-CTR functions.
|
||||||
save_LDFLAGS="$LDFLAGS"
|
save_LIBS="$LIBS"
|
||||||
LDFLAGS="$LDFLAGS $LIBSSL"
|
LIBS="$LIBS $LIBSSL"
|
||||||
AC_CHECK_FUNCS(EVP_aes_128_ctr)
|
AC_CHECK_FUNCS(EVP_aes_128_ctr)
|
||||||
LDFLAGS="$save_LDFLAGS"
|
LIBS="$save_LIBS"
|
||||||
|
|
||||||
found_crypto="OpenSSL (AES-CTR: ${ac_cv_func_EVP_aes_128_ctr:-N/A})"
|
found_crypto="OpenSSL (AES-CTR: ${ac_cv_func_EVP_aes_128_ctr:-N/A})"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user