Commit 712ebe85 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

libfreefare: examples need to link with zlib for openssl when static linking

parent 7c4cd1af
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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))