summaryrefslogtreecommitdiff
path: root/package/u-boot/patches/patch-tools_Makefile
blob: c94bd2ada0399acad5e0b487a4cf7502191bbc4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- u-boot-2023.07.02.orig/tools/Makefile	2023-07-11 17:20:44.000000000 +0200
+++ u-boot-2023.07.02/tools/Makefile	2023-09-29 15:53:47.464079598 +0200
@@ -172,9 +172,9 @@ endif
 # MXSImage needs LibSSL
 ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_ARMADA_38X)$(CONFIG_TOOLS_LIBCRYPTO),)
 HOSTCFLAGS_kwbimage.o += \
-	$(shell pkg-config --cflags libssl libcrypto 2> /dev/null || echo "")
+	$(shell echo "-lssl -lcrypto")
 HOSTLDLIBS_mkimage += \
-	$(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto")
+	$(shell echo "-lssl -lcrypto")
 
 # OS X deprecate openssl in favour of CommonCrypto, supress deprecation
 # warnings on those systems