summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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))
OpenPOWER on IntegriCloud