mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
libxml2: Fix zlib detection the right way
The previous fix (#557) forced -lz into LDFLAGS instead of fixing the real issue where configure was failing to detect zlib in the first place. This was happening because it was looking in /lib, resulting in conflicts with the host libraries. Signed-off-by: James Le Cuirot <james.le-cuirot@yakara.com>
This commit is contained in:
@@ -42,7 +42,6 @@ define Package/libxml2/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
TARGET_LDFLAGS += -lz
|
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
@@ -73,7 +72,7 @@ CONFIGURE_ARGS += \
|
|||||||
--with-xinclude \
|
--with-xinclude \
|
||||||
--with-xpath \
|
--with-xpath \
|
||||||
--with-xptr \
|
--with-xptr \
|
||||||
--with-zlib \
|
--with-zlib=$(STAGING_DIR)/usr \
|
||||||
--without-lzma
|
--without-lzma
|
||||||
|
|
||||||
HOST_CONFIGURE_ARGS += \
|
HOST_CONFIGURE_ARGS += \
|
||||||
|
|||||||
Reference in New Issue
Block a user