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:
parent
7c4cd1afdf
commit
712ebe8579
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user