aboutsummaryrefslogtreecommitdiff
path: root/Python/library/Zinc.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'Python/library/Zinc.py.in')
-rw-r--r--Python/library/Zinc.py.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/library/Zinc.py.in b/Python/library/Zinc.py.in
index 4936556..b832fdf 100644
--- a/Python/library/Zinc.py.in
+++ b/Python/library/Zinc.py.in
@@ -60,9 +60,9 @@ if nok : return 0 '''
if (_LIBLOADED==1) : return _VERSION
try:
if sys.platform == "win32":
- window.tk.call('load', 'Tkzinc@WIN_VERSION@.dll')
+ window.tk.call('eval', 'package require Tkzinc')
else:
- window.tk.call('load', '@Tkzinc_LIB_FILE@')
+ window.tk.call('load', 'Tkzinc@MAJOR_VERSION@.@MINOR_VERSION@.@PATCHLEVEL@.so')
# Call a function from the package to autoload it
# and verify that all is OK.
sversion = window.tk.call('zinc') + " Zinc.py %s" % __version__