blob: 40129acf08d2a504562fcc6a91d0ac93cbd09ac5 [file] [log] [blame]
Patrick Williams8dd68482022-10-04 07:57:18 -05001From b0405e0e25740ca0ea8b75d9b3b4f35b39d82e0e Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Sat, 17 Jul 2021 14:38:02 -0500
4Subject: [PATCH] Use pkg-config-native to find the libssl headers.
Brad Bishopbec4ebc2022-08-03 09:55:16 -04005
6Upstream-Status: Inappropriate
7Signed-off-by: Ross Burton <ross.burton@arm.com>
Patrick Williams8dd68482022-10-04 07:57:18 -05008---
9 scripts/Makefile | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
Brad Bishopbec4ebc2022-08-03 09:55:16 -040011
12diff --git a/scripts/Makefile b/scripts/Makefile
Patrick Williams8dd68482022-10-04 07:57:18 -050013index 9adb6d247..5fe371c7d 100644
14--- a/scripts/Makefile
15+++ b/scripts/Makefile
16@@ -3,8 +3,8 @@
17 # scripts contains sources for various helper programs used throughout
18 # the kernel for the build process.
19
Brad Bishopbec4ebc2022-08-03 09:55:16 -040020-CRYPTO_LIBS = $(shell pkg-config --libs libcrypto 2> /dev/null || echo -lcrypto)
21-CRYPTO_CFLAGS = $(shell pkg-config --cflags libcrypto 2> /dev/null)
22+CRYPTO_LIBS = $(shell pkg-config-native --libs libcrypto 2> /dev/null || echo -lcrypto)
23+CRYPTO_CFLAGS = $(shell pkg-config-native --cflags libcrypto 2> /dev/null)
Patrick Williams8dd68482022-10-04 07:57:18 -050024
25 hostprogs-always-$(CONFIG_BUILD_BIN2C) += bin2c
26 hostprogs-always-$(CONFIG_KALLSYMS) += kallsyms
27--
282.30.2
Brad Bishopbec4ebc2022-08-03 09:55:16 -040029