From: Peter Korsgaard Date: Thu, 9 Jan 2014 10:23:56 +0000 (+0100) Subject: libfreefare: examples need to link with zlib for openssl when static linking X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=712ebe85799287c3964aeab62982013b15076f92;p=buildroot.git 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 --- 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))