]> OCCT Git - occt-wok.git/commitdiff
0024378: Empty "aTclHPath" variable when tcl headers are located at "/usr/include...
authordbv <dbv@opencascade.com>
Tue, 19 Nov 2013 08:38:50 +0000 (12:38 +0400)
committerbugmaster <bugmaster@opencascade.com>
Tue, 19 Nov 2013 13:45:33 +0000 (17:45 +0400)
Fix for empty "aTclHPath" variable

src/WOKsite/wok_deps.tcl

index ab356e90be6932de09f7ed1abacd126b8fe8fc01..a3b7c0ab73598c806e34644d7536f0ce52b47361 100644 (file)
@@ -228,6 +228,7 @@ proc wokdep:SearchTclTk {theErrInc theErrLib32 theErrLib64 theErrBin32 theErrBin
     if { [file exists "/usr/include/tcl8.6/tcl.h"]
       && [file exists "/usr/include/tcl8.6/tk.h" ] } {
       lappend ::CSF_OPT_INC "/usr/include/tcl8.6"
+      set aTclHPath "/usr/include/tcl8.6/tcl.h"
     } else {
       set aPath [wokdep:Preferred [glob -nocomplain -directory "$::PRODUCTS_PATH" -type d *{tcl}*] "$::VCVER" "$::ARCH" ]
       if { "$aPath" != "" && [file exists "$aPath/include/tcl.h"] && [file exists "$aPath/include/tk.h"] } {