mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
readline: fix stripping on target
Libraries got installed read only, so strip failed. [Peter: simplify chmod logic] Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
1da563a7fa
commit
af8501cf96
@@ -24,5 +24,13 @@ 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
|
||||
chmod +w $(addprefix $(TARGET_DIR)/usr/lib/,libhistory.so.* libreadline.so.*)
|
||||
endef
|
||||
READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_INSTALL_FIXUPS_SHARED
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user