summaryrefslogtreecommitdiff
path: root/package/u-boot/patches/patch-tools_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-07-27 19:59:31 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-07-27 19:59:31 +0200
commitc011ab0cef70ea479afb92bed8c4d6626eb05c86 (patch)
tree466a9e4aa11dec40ad32479a30620949023d37ac /package/u-boot/patches/patch-tools_Makefile
parentd50ef63b1d75f83b28c686e35a0a16c9437eb2e4 (diff)
fix linking error reported by mt
Diffstat (limited to 'package/u-boot/patches/patch-tools_Makefile')
-rw-r--r--package/u-boot/patches/patch-tools_Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/u-boot/patches/patch-tools_Makefile b/package/u-boot/patches/patch-tools_Makefile
new file mode 100644
index 000000000..83da79edb
--- /dev/null
+++ b/package/u-boot/patches/patch-tools_Makefile
@@ -0,0 +1,11 @@
+--- u-boot-2015.07.orig/tools/Makefile 2015-07-14 19:32:21.000000000 +0200
++++ u-boot-2015.07/tools/Makefile 2015-07-27 19:45:38.000000000 +0200
+@@ -123,7 +123,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")
++ $(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto -dl")
+ endif
+
+ HOSTLOADLIBES_dumpimage := $(HOSTLOADLIBES_mkimage)