changeset 6702:98ca808fc04b

* src/libxml2.mk: update to v2.11.1
author John Donoghue <john.donoghue@ieee.org>
date Wed, 03 May 2023 14:55:20 -0400
parents e6ec9e6d9c51
children 11e24ab990cc
files src/libxml2.mk
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/libxml2.mk	Mon May 01 11:11:25 2023 -0400
+++ b/src/libxml2.mk	Wed May 03 14:55:20 2023 -0400
@@ -3,8 +3,8 @@
 
 PKG             := libxml2
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 2.10.4
-$(PKG)_CHECKSUM := b57d52b9edcad3271de112c635069f9b35372888
+$(PKG)_VERSION  := 2.11.1
+$(PKG)_CHECKSUM := c3d8dc9de02aed0e97843aaf6b1c9028606c1bac
 $(PKG)_SUBDIR   := libxml2-v$($(PKG)_VERSION)
 $(PKG)_FILE     := libxml2-v$($(PKG)_VERSION).tar.gz
 $(PKG)_URL      := https://gitlab.gnome.org/GNOME/$(PKG)/-/archive/v$($(PKG)_VERSION)/$($(PKG)_FILE)
@@ -14,6 +14,10 @@
     $(PKG)_DEPS := xz
 endif
 
+ifneq ($(MXE_SYSTEM),linux)
+    $(PKG)_CONFIGURE_OPTIONS := ac_cv_search_iconv=-liconv
+endif
+
 define $(PKG)_UPDATE
     $(WGET) -q -O- https://gitlab.gnome.org/GNOME/libxml2/tags | \
     $(SED) -n 's|.*/tags/v\([^"]*\).*|\1|p' | grep -v 'rc' | $(SORT) -V | \
@@ -26,6 +30,7 @@
         $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
         $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
         $(ENABLE_SHARED_OR_STATIC) \
+	$($(PKG)_CONFIGURE_OPTIONS) \
         --without-debug \
         --prefix='$(HOST_PREFIX)' \
         --with-zlib='$(HOST_PREFIX)' \