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 <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-01-09 11:23:56 +01:00
parent 7c4cd1afdf
commit 712ebe8579

View File

@ -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))