]> git.kernelconcepts.de Git - karo-tx-redboot.git/commitdiff
fake TCL_INC_DIR for compatibility with current TCL versions
authorlothar <lothar>
Tue, 15 Sep 2009 13:33:27 +0000 (13:33 +0000)
committerlothar <lothar>
Tue, 15 Sep 2009 13:33:27 +0000 (13:33 +0000)
build.sh

index 7681c6c42bef15b6b9908f4f7338add7c450e5ae..c667d27bdfe065120f9aa1dd84f95b536365c39b 100644 (file)
--- a/build.sh
+++ b/build.sh
@@ -41,6 +41,7 @@ build_host_tools() {
        exit 1
     fi
 
        exit 1
     fi
 
+    export TCL_INC_DIR="$(. /usr/lib/tclConfig.sh; echo $TCL_INCLUDE_SPEC | sed 's/^-I//')"
     mkdir -p "$tools_dir"
     cd "$tools_dir"
     sh ../src/configure $config_opts
     mkdir -p "$tools_dir"
     cd "$tools_dir"
     sh ../src/configure $config_opts