[OE-core] [PATCH 4/4] tcl: clean host path in tclConfig.sh

wenzong.fan at windriver.com wenzong.fan at windriver.com
Wed Oct 22 01:46:25 UTC 2014


From: Wenzong Fan <wenzong.fan at windriver.com>

* /usr/bin/crossscripts/tclConfig.sh

Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
---
 meta/recipes-devtools/tcltk/tcl_8.6.1.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
index 27f73f2..6c2c642 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
@@ -58,6 +58,7 @@ do_install() {
 	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
+	sed -i "/TCL_CC/s,\(--sysroot=\).*,--sysroot= '," tclConfig.sh
 	install -d ${D}${bindir_crossscripts}
 	install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
 	install -m 0755 tclConfig.sh ${D}${libdir}
-- 
1.7.9.5




More information about the Openembedded-core mailing list