libxml2: fix compilation on archlinux and gentoo
authorMichael Heimpold <mhei@heimpold.de>
Sat, 10 Jan 2015 15:33:32 +0000 (16:33 +0100)
committerMichael Heimpold <mhei@heimpold.de>
Sat, 10 Jan 2015 21:59:30 +0000 (22:59 +0100)
commit41a9c793c3d9f9d4eb1b22321108fd0009f56ec4
treecaef87a0e3d654c767d0ed6d462445911bed3b49
parent93119a45733f920773cb555208afd85b300a3975
libxml2: fix compilation on archlinux and gentoo

Compilation of libxml2 on some distributions is problematic (at least
archlinux) for OpenWrt. This commit fixes the issue. Issue is caused
because configuration for some reason does not find gzopen from zlib.
This patch issues linker to include zlib anyway, if host system doesn't
have this issue, it is not a problem as linker should not link libs
twice anyway.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
Backported to BB to fix https://dev.openwrt.org/ticket/18295

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
libs/libxml2/Makefile