Commit 9444180c authored by Richard Genoud's avatar Richard Genoud Committed by Thomas Petazzoni
Browse files

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: default avatarRichard Genoud <richard.genoud@gmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 8d0413fd
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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))