libxml2: remove xml2-config script from TARGET_DIR
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
ac7dbcf925
commit
c08e016efa
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user