lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 4281b374845a92bed274129baaf6336bac8a5a50
parent a42baee5882edc3141a2a14d7f0388582116e4b7
Author: Michael Heimpold <mhei@heimpold.de>
Date:   Wed, 26 Nov 2014 00:01:44 +0100

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>

[ Slightly modified commit message ]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

Diffstat:
Mlibs/libxml2/Makefile | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/libs/libxml2/Makefile b/libs/libxml2/Makefile @@ -42,6 +42,7 @@ define Package/libxml2/description endef TARGET_CFLAGS += $(FPIC) +TARGET_LDFLAGS += -lz CONFIGURE_ARGS += \ --enable-shared \