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 7681c6c..c667d27 100644 (file)
--- a/build.sh
+++ b/build.sh
@@ -41,6 +41,7 @@ build_host_tools() {
        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