package/libxml2: remove helper script from target
authorNorbert Lange <nolange79@gmail.com>
Fri, 5 Jun 2020 22:57:18 +0000 (00:57 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 6 Jun 2020 20:16:38 +0000 (22:16 +0200)
Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libxml2/libxml2.mk

index ea6a8c1f6d3ec9de39188ebfc9c0e79505a87638..acbdfb77286ec9a1a0fa660d6189cdd51d37024e 100644 (file)
@@ -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))