mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00: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
|
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))
|
||||||
$(eval $(call AUTOTARGETS,package,libpng,host))
|
$(eval $(call AUTOTARGETS,package,libpng,host))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user