aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2013-12-26 18:59:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-02 12:51:15 +0000
commitfe0e2d72d7e86f960cfb39342dcdd661a8b8a10b (patch)
tree70d612b7f5f01bd06d99ad4cc3f55b16ed9bb561 /meta/recipes-devtools/tcltk
parent3bfadeb3d86dc2b51525b7650567c42df0d0abcb (diff)
downloadopenembedded-core-contrib-fe0e2d72d7e86f960cfb39342dcdd661a8b8a10b.tar.gz
tcl: Fix ${bindir}/tclsh symlink
* 8.6.1 version installs tclsh8.6 binary and tclsh symlink to tclsh${VER} (tclsh8.6.1) which doesn't exist lrwxrwxrwx 1 bitbake bitbake 12 Dec 26 16:19 sysroots/x86_64-linux/usr/bin/tclsh -> ./tclsh8.6.1 -rwxr-xr-x 2 bitbake bitbake 8.8K Dec 26 16:19 sysroots/x86_64-linux/usr/bin/tclsh8.6 * add another symlinks tclsh8.6.1 -> tclsh8.6 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/tcltk')
-rw-r--r--meta/recipes-devtools/tcltk/tcl_8.6.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
index be59ad13764..c5eb20581b4 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
@@ -48,6 +48,7 @@ do_compile_prepend() {
do_install() {
autotools_do_install install-private-headers
ln -sf ./tclsh${VER} ${D}${bindir}/tclsh
+ ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
sed -i "s+-L${B}+-L${STAGING_LIBDIR}+g" tclConfig.sh
sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
sed -i "s,-L${libdir},-L=${libdir},g" tclConfig.sh