mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-03 02:13:29 +08:00
libpng: remove libpng*-config scripts from TARGET_DIR
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
99175e43be
commit
ac7dbcf925
@ -22,5 +22,14 @@ endef
|
||||
|
||||
LIBPNG_POST_INSTALL_STAGING_HOOKS += LIBPNG_STAGING_LIBPNG12_CONFIG_FIXUP
|
||||
|
||||
define LIBPNG_REMOVE_CONFIG_SCRIPTS
|
||||
$(RM) -f $(TARGET_DIR)/usr/bin/libpng$(LIBPNG_SERIES)-config \
|
||||
$(TARGET_DIR)/usr/bin/libpng-config
|
||||
endef
|
||||
|
||||
ifneq ($(BR2_HAVE_DEVFILES),y)
|
||||
LIBPNG_POST_INSTALL_TARGET_HOOKS += LIBPNG_REMOVE_CONFIG_SCRIPTS
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,libpng))
|
||||
$(eval $(call AUTOTARGETS,package,libpng,host))
|
||||
|
Loading…
Reference in New Issue
Block a user