From 96ac9ef5be29dee88f24cf583ca8c53be481bb8f Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 18 Sep 2013 10:38:01 -0300 Subject: [PATCH] gettext: fixup library permissions libintl.so* is installed without +x permissions thus preventing stripping. Fix it up in the post install target hooks. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/gettext/gettext.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index baf42efabe..7af203551a 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -58,5 +58,12 @@ endef endif endif # GETTEXT_TOOLS = n +# Library lacks +x so strip skips it +define GETTEXT_FIX_LIBRARY_MODE + -chmod +x $(TARGET_DIR)/usr/lib/libintl.so* +endef + +GETTEXT_POST_INSTALL_TARGET_HOOKS += GETTEXT_FIX_LIBRARY_MODE + $(eval $(autotools-package)) $(eval $(host-autotools-package))