aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-05-23 19:34:18 -0700
committerRobert Yang <liezhi.yang@windriver.com>2016-05-23 20:01:18 -0700
commitb85d93c20fe3d845e7ff42e3ba1c26d5124e3781 (patch)
treeaa4d7ef261fc5772d1caf3706e47db2af29b0da7
parentd6241e4c94a0a72acfc57e96a59918c0b2146d65 (diff)
downloadopenembedded-core-contrib-rbt/tcl.tar.gz
tcl: fix sed command in do_installrbt/tcl
The -I= and -L= is used for cross compile, target doesn't need, and binconfig.class can handle usr/bin/crossscripts/tclConfig.sh. Fix do_configure error for the recipe which uses tclConfig.sh, for example, postgresql.do_configure: configure: error: header file <tcl.h> is required for Tcl Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/recipes-devtools/tcltk/tcl_8.6.4.bb2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.4.bb b/meta/recipes-devtools/tcltk/tcl_8.6.4.bb
index 61be81dc04..14ca9ba969 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.4.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.4.bb
@@ -56,8 +56,6 @@ do_install() {
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
- sed -i "s,-I${includedir},-I=${includedir},g" tclConfig.sh
install -d ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${libdir}