From: Thomas Petazzoni Date: Wed, 22 Dec 2010 17:23:39 +0000 (+0100) Subject: libxml2: remove xml2-config script from TARGET_DIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c08e016efad74b087b71df09b028f615eb5453db;p=buildroot.git libxml2: remove xml2-config script from TARGET_DIR Signed-off-by: Thomas Petazzoni --- diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk index d07f631a88..2a267b2f9e 100644 --- a/package/libxml2/libxml2.mk +++ b/package/libxml2/libxml2.mk @@ -30,6 +30,14 @@ 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 + +ifneq ($(BR2_HAVE_DEVFILES),y) +LIBXML2_POST_INSTALL_TARGET_HOOKS += LIBXML2_REMOVE_CONFIG_SCRIPTS +endif + $(eval $(call AUTOTARGETS,package,libxml2)) $(eval $(call AUTOTARGETS,package,libxml2,host))