We do want to change from using the tclsh we just built when building
for the target but for native we want to make sure it's used.
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
EXTRA_OECONF = "--enable-threads"
-do_compile_prepend() {
+do_configure_append() {
echo > ../compat/fixstrtod.c
+}
+
+do_compile_prepend_pn-tcl () {
sed -i -e 's:./tclsh :tclsh :g' Makefile
}
+
do_install() {
autotools_do_install
# Stage a few extra headers to make tk happy