From aa60e76c02f21edb461f16ae4a7f62ea3b2c1d0b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 19 Jun 2013 23:55:29 +0200 Subject: [PATCH] wvstreams: fix openssl detection when statically linking The openssl tests need to link against libz as libcrypto references it. Signed-off-by: Peter Korsgaard --- package/wvstreams/wvstreams.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/wvstreams/wvstreams.mk b/package/wvstreams/wvstreams.mk index d363f4c1d8..65f48d4037 100644 --- a/package/wvstreams/wvstreams.mk +++ b/package/wvstreams/wvstreams.mk @@ -24,6 +24,9 @@ WVSTREAMS_CONF_OPT += \ --without-pam \ --disable-warnings +# needed for openssl detection when statically linking (as ssl needs lz) +WVSTREAMS_CONF_ENV += LIBS=-lz + ifeq ($(BR2_PACKAGE_DBUS),y) WVSTREAMS_DEPENDENCIES += dbus WVSTREAMS_CONF_OPT += --with-dbus -- 2.30.2