summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tkInitScript.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tkInitScript.h b/generic/tkInitScript.h
index e86d16e..f46503a 100644
--- a/generic/tkInitScript.h
+++ b/generic/tkInitScript.h
@@ -33,6 +33,9 @@ static char initScript[] =
set tk_library .\n\
}\n\
set dirs {}\n\
+ if {[info exists env(tk_pkgLibrary)]} {\n\
+ lappend dirs $env(tk_pkgLibrary)\n\
+ }\n\
if {[info exists env(TK_LIBRARY)]} {\n\
lappend dirs $env(TK_LIBRARY)\n\
}\n\