View | Details | Raw Unified | Return to bug 274013
Collapse All | Expand All

(-)b/security/tpm2-tools/files/patch-configure (+20 lines)
Added Link Here
1
--- configure.orig	2023-02-13 15:09:39 UTC
2
+++ configure
3
@@ -14030,7 +14030,7 @@ if ${ac_cv_lib_crypto_EVP_sm3+:} false; then :
4
   $as_echo_n "(cached) " >&6
5
 else
6
   ac_check_lib_save_LIBS=$LIBS
7
-LIBS="-lcrypto  $LIBS"
8
+LIBS="${CRYPTO_LIBS}  $LIBS"
9
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10
 /* end confdefs.h.  */
11
 
12
@@ -14073,7 +14073,7 @@ if ${ac_cv_lib_crypto_EVP_sm4_cfb128+:} false; then :
13
   $as_echo_n "(cached) " >&6
14
 else
15
   ac_check_lib_save_LIBS=$LIBS
16
-LIBS="-lcrypto  $LIBS"
17
+LIBS="${CRYPTO_LIBS}  $LIBS"
18
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19
 /* end confdefs.h.  */
20
 

Return to bug 274013