Browse Source

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>
lilik-openwrt-22.03
Michael Heimpold 10 years ago
parent
commit
4281b37484
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libs/libxml2/Makefile

+ 1
- 0
libs/libxml2/Makefile View File

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


Loading…
Cancel
Save