瀏覽代碼

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 年之前
父節點
當前提交
aa60e76c02
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      package/wvstreams/wvstreams.mk

+ 3 - 0
package/wvstreams/wvstreams.mk

@@ -24,6 +24,9 @@ WVSTREAMS_CONF_OPT += \
 	--without-pam \
 	--without-pam \
 	--disable-warnings
 	--disable-warnings
 
 
+# needed for openssl detection when statically linking (as ssl needs lz)
+WVSTREAMS_CONF_ENV += LIBS=-lz
+
 ifeq ($(BR2_PACKAGE_DBUS),y)
 ifeq ($(BR2_PACKAGE_DBUS),y)
 	WVSTREAMS_DEPENDENCIES += dbus
 	WVSTREAMS_DEPENDENCIES += dbus
 	WVSTREAMS_CONF_OPT += --with-dbus
 	WVSTREAMS_CONF_OPT += --with-dbus