diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2013-09-18 10:38:01 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-09-18 16:57:06 +0200 |
commit | 96ac9ef5be29dee88f24cf583ca8c53be481bb8f (patch) | |
tree | c6c31c525aceeab4b98a21deef53dc92b7c6f3d0 | |
parent | abd5db62fdec410eaf857b6eb107602734c87999 (diff) | |
download | buildroot-96ac9ef5be29dee88f24cf583ca8c53be481bb8f.tar.gz buildroot-96ac9ef5be29dee88f24cf583ca8c53be481bb8f.zip |
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>
-rw-r--r-- | package/gettext/gettext.mk | 7 |
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)) |