bind: fix build failure for static+openssl
PATCH 1/1 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/
--- package/bind/bind.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/bind/bind.mk +1 -1
@@ -30,7 +30,7 @@ endif ifeq ($(BR2_PACKAGE_OPENSSL),y) BIND_DEPENDENCIES += openssl - BIND_CONF_OPT += --with-openssl=$(STAGING_DIR)/usr + BIND_CONF_OPT += --with-openssl=$(STAGING_DIR)/usr LIBS="-lz" else BIND_CONF_OPT += --with-openssl=no endif
Signature · 1 line
1.8.1.5
PATCH 1/1 bind: fix build failure for static+openssl
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Gustavo> Bind just links to openssl libraries without checking it's Gustavo> dependencies. This works when doing shared builds since the Gustavo> linker picks the deps up, but fails badly on static builds. Gustavo> So just define LIBS="-lz" when openssl is enabled. Fixes:
Gustavo> http://autobuild.buildroot.net/results/a9a166f932e0b6727ae8e470ce748418797875b9/
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard