summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYao Zhao <yao.zhao@windriver.com>2012-07-18 12:42:35 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-18 22:24:42 +0100
commit28d29b41bfed0ab43239286cde334f804f38493a (patch)
tree066a97559210a68d95853aef562023620e2fa015
parent7b573543fc1ebc35e854c3fc3a5969d61abcae7e (diff)
downloadpoky-28d29b41bfed0ab43239286cde334f804f38493a.tar.gz
tcl: fix tcl INCLUDE_SPEC and LIB_SPEC
TCL_INCLUDE_SPEC -I/usr/include will cause problems cross configure/compile TCL_LIB_SPEC -L${libdir} will cause problems too when link. (From OE-Core rev: d454f8055b21c4d01dd1e2faf1625e2a1e5c25f2) Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/tcltk/tcl_8.5.11.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
index 1d43371209..d5cf6dc167 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.5.11.bb
@@ -46,8 +46,9 @@ do_install() {
46 autotools_do_install 46 autotools_do_install
47 oe_libinstall -so libtcl8.5 ${STAGING_LIBDIR} 47 oe_libinstall -so libtcl8.5 ${STAGING_LIBDIR}
48 ln -sf ./tclsh8.5 ${D}${bindir}/tclsh 48 ln -sf ./tclsh8.5 ${D}${bindir}/tclsh
49 sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh 49 #sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
50 sed -i "s,-L${libdir},," tclConfig.sh 50 sed -i "s,-L${libdir},-L=${libdir},g" tclConfig.sh
51 sed -i "s,-I${includedir},-I=${includedir},g" tclConfig.sh
51 install -d ${STAGING_BINDIR_CROSS}/ 52 install -d ${STAGING_BINDIR_CROSS}/
52 install -m 0755 tclConfig.sh ${STAGING_BINDIR_CROSS} 53 install -m 0755 tclConfig.sh ${STAGING_BINDIR_CROSS}
53 cd .. 54 cd ..