diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinInit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c index be8dbbd..fee2aa7 100644 --- a/win/tclWinInit.c +++ b/win/tclWinInit.c @@ -108,6 +108,9 @@ static char *initScript = }\n\ } \n\ set dirs {}\n\ + if {[info exists env(tcl_pkgLibrary)]} {\n\ + lappend dirs $env(tcl_pkgLibrary)\n\ + }\n\ if {[info exists env(TCL_LIBRARY)]} {\n\ lappend dirs $env(TCL_LIBRARY)\n\ }\n\ |