From: Gustavo Zacarias Date: Wed, 18 Sep 2013 13:38:02 +0000 (-0300) Subject: libiconv: fixup library permissions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22718b0e2c1d2b471ef60dc7992ad94376bb48b7;p=buildroot.git libiconv: fixup library permissions libiconv.so* and libcharset.so* are 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 --- diff --git a/package/libiconv/libiconv.mk b/package/libiconv/libiconv.mk index d6a1d6f498..aa6d6de8b6 100644 --- a/package/libiconv/libiconv.mk +++ b/package/libiconv/libiconv.mk @@ -21,6 +21,14 @@ endef LIBICONV_POST_INSTALL_TARGET_HOOKS += LIBICONV_TARGET_REMOVE_PRELOADABLE_LIBS LIBICONV_POST_INSTALL_STAGING_HOOKS += LIBICONV_STAGING_REMOVE_PRELOADABLE_LIBS +# Library lacks +x so strip skips it +define LIBICONV_FIX_LIBRARY_MODE + -chmod +x $(TARGET_DIR)/usr/lib/libcharset.so* + -chmod +x $(TARGET_DIR)/usr/lib/libiconv.so* +endef + +LIBICONV_POST_INSTALL_TARGET_HOOKS += LIBICONV_FIX_LIBRARY_MODE + $(eval $(autotools-package)) # Configurations where the toolchain supports locales and the libiconv