[Buildroot] [git commit branch/2020.02.x] package/libxml2: remove helper script from target

Peter Korsgaard peter at korsgaard.com
Mon Jul 6 07:16:23 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=1cf301eaf227c82d6fed145dfb8c505cee5c0d37
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x

Signed-off-by: Norbert Lange <nolange79 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 89a0b73aed88990b81ce67d65bc03cdd046558e1)
Signed-off-by: Peter Korsgaard <peter at 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))
 


More information about the buildroot mailing list