mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 20:56:33 +00:00
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 <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
96ac9ef5be
commit
22718b0e2c
@ -21,6 +21,14 @@ endef
|
|||||||
LIBICONV_POST_INSTALL_TARGET_HOOKS += LIBICONV_TARGET_REMOVE_PRELOADABLE_LIBS
|
LIBICONV_POST_INSTALL_TARGET_HOOKS += LIBICONV_TARGET_REMOVE_PRELOADABLE_LIBS
|
||||||
LIBICONV_POST_INSTALL_STAGING_HOOKS += LIBICONV_STAGING_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))
|
$(eval $(autotools-package))
|
||||||
|
|
||||||
# Configurations where the toolchain supports locales and the libiconv
|
# Configurations where the toolchain supports locales and the libiconv
|
||||||
|
Loading…
x
Reference in New Issue
Block a user