commit bfd83c310f04bab2afdde38bdb838d0d5373f0b7
parent 5c74e4fc56ac17ed1ca0cc06bab0305e7d05284b
Author: Michael Heimpold <mhei@heimpold.de>
Date: Thu, 4 Dec 2014 20:41:48 +0100
Merge pull request #585 from chewi/master
libxml2: Fix zlib detection the right way
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libs/libxml2/Makefile b/libs/libxml2/Makefile
@@ -42,7 +42,6 @@ define Package/libxml2/description
endef
TARGET_CFLAGS += $(FPIC)
-TARGET_LDFLAGS += -lz
CONFIGURE_ARGS += \
--enable-shared \
@@ -73,7 +72,7 @@ CONFIGURE_ARGS += \
--with-xinclude \
--with-xpath \
--with-xptr \
- --with-zlib \
+ --with-zlib=$(STAGING_DIR)/usr \
--without-lzma
HOST_CONFIGURE_ARGS += \