From: Richard Genoud Date: Mon, 24 Jun 2013 08:40:56 +0000 (+0200) Subject: tcl: make the libtcl writable in order to be stripped X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9444180c15ed7c6f302f1e9361f589c28189816c;p=buildroot.git tcl: make the libtcl writable in order to be stripped The libtcl is installed with 0555 and that prevents it from being stripped. Signed-off-by: Richard Genoud Signed-off-by: Thomas Petazzoni --- diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk index c145f57c23..f1193d3ca0 100644 --- a/package/tcl/tcl.mk +++ b/package/tcl/tcl.mk @@ -42,5 +42,12 @@ endef TCL_POST_INSTALL_TARGET_HOOKS += TCL_SYMLINK_TCLSH endif +# library get installed read only, so strip fails +define TCL_FIXUP_RO_LIB + chmod +w $(TARGET_DIR)/usr/lib/libtcl* +endef + +TCL_POST_INSTALL_TARGET_HOOKS += TCL_FIXUP_RO_LIB + $(eval $(autotools-package)) $(eval $(host-autotools-package))