bind: fix build failure for static+openssl
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 5 May 2013 10:54:11 +0000 (10:54 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 5 May 2013 20:57:54 +0000 (22:57 +0200)
commit80ebf12906afc3a1e5f4e5682d4c5dc0779a556a
tree6c70232232c688576a5eb87055c2b8ba5fb04d0b
parent9edf482d6b210d16a22fdf561da2a2f0fb84824d
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>
package/bind/bind.mk