readline: fix stripping on target
PATCH 1/1 readline: fix stripping on target
Libraries got installed read only, so strip failed.
Signed-off-by Carlos Santos <[email protected]>
--- package/readline/readline.mk | 9 +++++++++ 1 file changed, 9 insertions(+)
package/readline/readline.mk +9 -0
@@ -24,5 +24,14 @@ define READLINE_INSTALL_INPUTRC endef READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_INSTALL_INPUTRC +ifneq ($(BR2_STATIC_LIBS),y) +# libraries get installed read only, so strip fails +define READLINE_INSTALL_FIXUPS_SHARED + for i in $(addprefix $(TARGET_DIR)/usr/lib/,libhistory.so.* libreadline.so.*); \ + do chmod +w $$i; done +endef +READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_INSTALL_FIXUPS_SHARED +endif + $(eval $(autotools-package)) $(eval $(host-autotools-package))
Signature · 1 line
1.8.3.1
PATCH 1/1 readline: fix stripping on target
Quoted 3 lines · Carlos Santos
Libraries got installed read only, so strip failed.
Signed-off-by Carlos Santos <[email protected]>
Acked-by Gustavo Zacarias <[email protected]>
Regards.
PATCH 1/1 readline: fix stripping on target
In reply to Carlos SantosQuoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Carlos" == Carlos Santos <[email protected]> writes:
Libraries got installed read only, so strip failed.
Signed-off-by Carlos Santos <[email protected]>--- package/readline/readline.mk | 9 +++++++++ 1 file changed, 9 insertions(+)package/readline/readline.mk +0
-0
package/readline/readline.mk define READLINE_INSTALL_INPUTRC · line 32
Quoted 9 lines
package/readline/readline.mk +6
-0@@ -24,5 +24,14 @@ define READLINE_INSTALL_INPUTRC endef READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_INSTALL_INPUTRC +ifneq ($(BR2_STATIC_LIBS),y) +# libraries get installed read only, so strip fails +define READLINE_INSTALL_FIXUPS_SHARED + for i in $(addprefix $(TARGET_DIR)/usr/lib/,libhistory.so.* libreadline.so.*); \ + do chmod +w $$i; done +endef
Committed after simplifying it to just be:
chmod +w $(addprefix $(TARGET_DIR)/usr/lib/,libhistory.so.* libreadline.so.*)
Thanks.
Signature · 1 line
Bye, Peter Korsgaard