[1/2] tcl: fix path in Config.sh for sstate

Submitted by Robert Yang on March 25, 2014, 8:34 a.m. | Patch ID: 69135


Message ID 790da89f24d3ff4dc3964ff5ce4b479cbb709366.1395736394.git.liezhi.yang@windriver.com
State Accepted
Commit cd83e4a30311e4399c6c634fe06ec835a95a1c17
Headers show

Commit Message

Robert Yang March 25, 2014, 8:34 a.m.
We need fix the path in tclConfig.sh, tdbcConfig.sh and itclConfig.sh
for sstate, otherwise there would be build failures when use the sstate
across different builds.

e.g., when building expect:
checking for Tcl private include files... configure: error: Cannot find private header tclInt.h in
Configure failed.

[YOCTO #6035]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
 meta/recipes-devtools/tcltk/tcl_8.6.1.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
index 79a3f08..9d35da1 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.1.bb
@@ -90,3 +90,6 @@  do_install_ptest() {
 	cp -r ${S}/../library ${D}${PTEST_PATH}
 	cp -r ${S}/../tests ${D}${PTEST_PATH}
+# Fix the path in sstate
+SSTATE_SCAN_FILES += "*Config.sh"