aboutsummaryrefslogtreecommitdiff
path: root/security/tpm2-tools/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'security/tpm2-tools/files/patch-configure')
-rw-r--r--security/tpm2-tools/files/patch-configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/tpm2-tools/files/patch-configure b/security/tpm2-tools/files/patch-configure
new file mode 100644
index 000000000000..32381edd529c
--- /dev/null
+++ b/security/tpm2-tools/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 2023-02-13 15:09:39 UTC
++++ configure
+@@ -14030,7 +14030,7 @@ if ${ac_cv_lib_crypto_EVP_sm3+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lcrypto $LIBS"
++LIBS="${CRYPTO_LIBS} $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+@@ -14073,7 +14073,7 @@ if ${ac_cv_lib_crypto_EVP_sm4_cfb128+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lcrypto $LIBS"
++LIBS="${CRYPTO_LIBS} $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+