mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
libiconv: strip installed library and remove the preloadable library
This patch is mainly for size reduction, removing more than half the needed footprint. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
This commit is contained in:
@@ -16,3 +16,11 @@ LIBICONV_DEPENDENCIES = uclibc
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,libiconv))
|
||||
|
||||
$(LIBICONV_HOOK_POST_INSTALL):
|
||||
# Remove not used preloadable libiconv.so
|
||||
rm -f $(STAGING_DIR)/usr/lib/preloadable_libiconv.so
|
||||
rm -f $(TARGET_DIR)/usr/lib/preloadable_libiconv.so
|
||||
ifneq ($(BR2_ENABLE_DEBUG),y)
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libiconv.so.*
|
||||
endif
|
||||
touch $@
|
||||
|
||||
Reference in New Issue
Block a user