Blame SOURCES/0003-Makefile.am-Use-LIBCRYPTO_CFLAGS-when-building-FAPI.patch

a23473
From c5933320e1bd557cc52f2d56baec4ea52edfbc47 Mon Sep 17 00:00:00 2001
a23473
From: Petr Gotthard <petr.gotthard@centrum.cz>
a23473
Date: Sat, 17 Jul 2021 20:15:51 +0200
a23473
Subject: Makefile.am: Use LIBCRYPTO_CFLAGS when building FAPI
a23473
MIME-Version: 1.0
a23473
Content-Type: text/plain; charset=UTF-8
a23473
Content-Transfer-Encoding: 8bit
a23473
a23473
Signed-off-by: Petr Gotthard <petr.gotthard@centrum.cz>
a23473
---
a23473
 Makefile.am | 2 +-
a23473
 1 file changed, 1 insertion(+), 1 deletion(-)
a23473
a23473
diff --git a/Makefile.am b/Makefile.am
a23473
index f2fa515a..0f759adb 100644
a23473
--- a/Makefile.am
a23473
+++ b/Makefile.am
a23473
@@ -521,7 +521,7 @@ src_tss2_fapi_libtss2_fapi_la_LIBADD  = $(libtss2_sys) $(libtss2_mu) $(libtss2_e
a23473
     $(libutil) $(libtss2_tctildr)
a23473
 
a23473
 src_tss2_fapi_libtss2_fapi_la_SOURCES = $(TSS2_FAPI_SRC)
a23473
-src_tss2_fapi_libtss2_fapi_la_CFLAGS  = $(AM_CFLAGS) -I$(srcdir)/src/tss2-fapi
a23473
+src_tss2_fapi_libtss2_fapi_la_CFLAGS  = $(AM_CFLAGS) -I$(srcdir)/src/tss2-fapi $(LIBCRYPTO_CFLAGS)
a23473
 src_tss2_fapi_libtss2_fapi_la_LDFLAGS = $(AM_LDFLAGS) $(LIBCRYPTO_LIBS) $(JSONC_LIBS) $(CURL_LIBS)
a23473
 if HAVE_LD_VERSION_SCRIPT
a23473
 src_tss2_fapi_libtss2_fapi_la_LDFLAGS += -Wl,--version-script=$(srcdir)/lib/tss2-fapi.map
a23473
-- 
a23473
2.26.3
a23473