diff --git a/package/expat/expat.mk b/package/expat/expat.mk index 03d2b1c4..b9ff249f 100644 --- a/package/expat/expat.mk +++ b/package/expat/expat.mk @@ -4,7 +4,7 @@ # ################################################################################ -EXPAT_VERSION = 2.2.9 +EXPAT_VERSION = 2.4.1 EXPAT_DIR = expat-$(EXPAT_VERSION) EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.bz2 EXPAT_SITE = https://sourceforge.net/projects/expat/files/expat/$(EXPAT_VERSION) @@ -16,6 +16,12 @@ EXPAT_CONF_OPTS = \ --without-xmlwf \ --without-docbook +define EXPAT_TARGET_CLEANUP + $(TARGET_RM) $(TARGET_libdir)/cmake +endef +EXPAT_TARGET_FINALIZE_HOOKS += EXPAT_TARGET_CLEANUP + + expat: | $(TARGET_DIR) $(call autotools-package) diff --git a/package/expat/patches/expat-libtool-tag.patch b/package/expat/patches/expat-libtool-tag.patch index a7f6454c..e69306bd 100644 --- a/package/expat/patches/expat-libtool-tag.patch +++ b/package/expat/patches/expat-libtool-tag.patch @@ -16,7 +16,7 @@ diff --git a/Makefile.in b/Makefile.in index 9560a95..d444bd6 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -330,7 +330,7 @@ LIBCURRENT = @LIBCURRENT@ +@@ -350,7 +350,7 @@ LIBCURRENT = @LIBCURRENT@ LIBOBJS = @LIBOBJS@ LIBREVISION = @LIBREVISION@ LIBS = @LIBS@