aboutsummaryrefslogtreecommitdiff
path: root/package/gettext
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2013-09-18 10:38:01 -0300
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-09-18 16:57:06 +0200
commit96ac9ef5be29dee88f24cf583ca8c53be481bb8f (patch)
treec6c31c525aceeab4b98a21deef53dc92b7c6f3d0 /package/gettext
parentabd5db62fdec410eaf857b6eb107602734c87999 (diff)
downloadbuildroot-96ac9ef5be29dee88f24cf583ca8c53be481bb8f.tar.gz
buildroot-96ac9ef5be29dee88f24cf583ca8c53be481bb8f.tar.bz2
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 <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gettext')
-rw-r--r--package/gettext/gettext.mk7
1 files changed, 7 insertions, 0 deletions
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))