2
1
Эх сурвалжийг харах

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>
Peter Korsgaard 12 жил өмнө
parent
commit
aa60e76c02

+ 3 - 0
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