[Buildroot] [git commit branch/2020.05.x] package/libxml2: remove helper script from target
From: Peter Korsgaard <peter@korsgaard.com>
Date: 2020-07-06 07:16:30
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Peter Korsgaard <peter@korsgaard.com>
Date: 2020-07-06 07:16:30
Subsystem:
the rest · Maintainer:
Linus Torvalds
commit: https://git.buildroot.net/buildroot/commit/?id=7a3c50ebf47daa300206888e64e9c5c23e667c33 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.05.x Signed-off-by: Norbert Lange <redacted> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 89a0b73aed88990b81ce67d65bc03cdd046558e1) Signed-off-by: Peter Korsgaard <peter@korsgaard.com> --- package/libxml2/libxml2.mk | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index ea6a8c1f6d..acbdfb7728 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk@@ -49,6 +49,11 @@ else LIBXML2_CONF_OPTS += --without-iconv endif +define LIBXML2_CLEANUP_XML2CONF + rm -f $(TARGET_DIR)/usr/lib/xml2Conf.sh +endef +LIBXML2_POST_INSTALL_TARGET_HOOKS += LIBXML2_CLEANUP_XML2CONF + $(eval $(autotools-package)) $(eval $(host-autotools-package))