summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2013-06-24 08:40:56 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-28 14:20:11 (GMT)
commit9444180c15ed7c6f302f1e9361f589c28189816c (patch)
tree8bed2248596f05877745f8e7d73d1d658dd066eb
parent8d0413fd370f47014287976f195dc745b95e49d3 (diff)
downloadbuildroot-9444180c15ed7c6f302f1e9361f589c28189816c.tar.gz
buildroot-9444180c15ed7c6f302f1e9361f589c28189816c.tar.bz2
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 <richard.genoud@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/tcl/tcl.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk
index c145f57..f1193d3 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))