From 712ebe85799287c3964aeab62982013b15076f92 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 9 Jan 2014 11:23:56 +0100 Subject: [PATCH] libfreefare: examples need to link with zlib for openssl when static linking Fixes http://autobuild.buildroot.net/results/f09/f09d515f0e7b6d78010f1ce624336ceaef624989/ Signed-off-by: Peter Korsgaard --- package/libfreefare/libfreefare.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libfreefare/libfreefare.mk b/package/libfreefare/libfreefare.mk index 8dcd6b81c9..362cab2fa6 100644 --- a/package/libfreefare/libfreefare.mk +++ b/package/libfreefare/libfreefare.mk @@ -8,4 +8,9 @@ LIBFREEFARE_VERSION = 0.3.4 LIBFREEFARE_SITE = http://libfreefare.googlecode.com/files LIBFREEFARE_DEPENDENCIES = libnfc openssl +ifeq ($(BR2_PREFER_STATIC_LIB),y) +# openssl needs zlib even if the libfreefare example itself doesn't +LIBFREEFARE_CONF_ENV += LIBS='-lz' +endif + $(eval $(autotools-package)) -- 2.30.2