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

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