[Buildroot] [PATCH 6/7] libxml2: remove xml2-config script from TARGET_DIR
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Dec 22 17:25:25 UTC 2010
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/libxml2/libxml2.mk | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index 387dce3..b9d036d 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -33,6 +33,12 @@ HOST_LIBXML2_CONF_OPT = \
--enable-shared --without-debugging --without-python \
--without-threads
+define LIBXML2_REMOVE_CONFIG_SCRIPTS
+ $(RM) -f $(TARGET_DIR)/usr/bin/xml2-config
+endef
+
+LIBXML2_POST_INSTALL_TARGET_HOOKS += LIBXML2_REMOVE_CONFIG_SCRIPTS
+
$(eval $(call AUTOTARGETS,package,libxml2))
$(eval $(call AUTOTARGETS,package,libxml2,host))
--
1.7.0.4
More information about the buildroot
mailing list