summaryrefslogtreecommitdiff
path: root/package/u-boot/patches/patch-tools_Makefile
blob: 99df54622a9497e27fc545cd0884aa15dfbb3105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- u-boot-2015.07.orig/tools/Makefile	2015-07-14 19:32:21.000000000 +0200
+++ u-boot-2015.07/tools/Makefile	2015-07-30 09:57:50.209525093 +0200
@@ -122,8 +122,7 @@ endif
 
 # MXSImage needs LibSSL
 ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_FIT_SIGNATURE),)
-HOSTLOADLIBES_mkimage += \
-	$(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto")
+HOSTLOADLIBES_mkimage += -lssl -lcrypto -ldl
 endif
 
 HOSTLOADLIBES_dumpimage := $(HOSTLOADLIBES_mkimage)