Sfoglia il codice sorgente

bind: fix build failure for static+openssl

Bind just links to openssl libraries without checking it's dependencies.
This works when doing shared builds since the linker picks the deps up,
but fails badly on static builds.
So just define LIBS="-lz" when openssl is enabled. Fixes:
http://autobuild.buildroot.net/results/a9a166f932e0b6727ae8e470ce748418797875b9/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias 12 anni fa
parent
commit
80ebf12906
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      package/bind/bind.mk

+ 1 - 1
package/bind/bind.mk

@@ -30,7 +30,7 @@ endif
 
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 	BIND_DEPENDENCIES += openssl
 	BIND_DEPENDENCIES += openssl
-	BIND_CONF_OPT += --with-openssl=$(STAGING_DIR)/usr
+	BIND_CONF_OPT += --with-openssl=$(STAGING_DIR)/usr LIBS="-lz"
 else
 else
 	BIND_CONF_OPT += --with-openssl=no
 	BIND_CONF_OPT += --with-openssl=no
 endif
 endif