summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-06-19 23:55:29 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-19 23:56:41 +0200
commitaa60e76c02f21edb461f16ae4a7f62ea3b2c1d0b (patch)
tree450ad0c84e03406d4398be7af12e7bcdcd6971bb
parentb03e04f3df86e1f2e6e136c5a536c516e2374807 (diff)
downloadbuildroot-novena-aa60e76c02f21edb461f16ae4a7f62ea3b2c1d0b.tar.gz
buildroot-novena-aa60e76c02f21edb461f16ae4a7f62ea3b2c1d0b.zip
wvstreams: fix openssl detection when statically linking
The openssl tests need to link against libz as libcrypto references it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/wvstreams/wvstreams.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/wvstreams/wvstreams.mk b/package/wvstreams/wvstreams.mk
index d363f4c1d..65f48d403 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