summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-06-19 21:55:29 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-06-19 21:56:41 (GMT)
commitaa60e76c02f21edb461f16ae4a7f62ea3b2c1d0b (patch)
tree450ad0c84e03406d4398be7af12e7bcdcd6971bb
parentb03e04f3df86e1f2e6e136c5a536c516e2374807 (diff)
downloadbuildroot-aa60e76c02f21edb461f16ae4a7f62ea3b2c1d0b.tar.gz
buildroot-aa60e76c02f21edb461f16ae4a7f62ea3b2c1d0b.tar.bz2
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 d363f4c..65f48d4 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