mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
tcl: add a tclsh symlink
tclsh is installed with its version number (tclshx.y) but scripts (like usb_modeswitch_dispatcher) are calling tclsh, not tclshx.y. Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
0b59411c75
commit
8d0413fd37
@ -35,6 +35,11 @@ define TCL_REMOVE_TCLSH
|
|||||||
rm -f $(TARGET_DIR)/usr/bin/tclsh$(TCL_VERSION_MAJOR)
|
rm -f $(TARGET_DIR)/usr/bin/tclsh$(TCL_VERSION_MAJOR)
|
||||||
endef
|
endef
|
||||||
TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_TCLSH
|
TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_TCLSH
|
||||||
|
else
|
||||||
|
define TCL_SYMLINK_TCLSH
|
||||||
|
ln -s tclsh$(TCL_VERSION_MAJOR) $(TARGET_DIR)/usr/bin/tclsh
|
||||||
|
endef
|
||||||
|
TCL_POST_INSTALL_TARGET_HOOKS += TCL_SYMLINK_TCLSH
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user