From bf9689eade9813ca136dfb64f2a261f1de1f335f Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Fri, 9 Dec 2022 13:26:56 +0100 Subject: [PATCH] sat #33094: TK is installed along with TCL --- products/env_scripts/tk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/products/env_scripts/tk.py b/products/env_scripts/tk.py index d0d36ac..1325e62 100755 --- a/products/env_scripts/tk.py +++ b/products/env_scripts/tk.py @@ -20,7 +20,7 @@ def set_env(env, prereq_dir, version): #http://computer-programming-forum.com/57-tcl/1dfddc136afccb94.htm #Tcl treats the contents of that variable as a list. Be happy, for you can now use drive letters on windows. env.prepend('TKLIBPATH', l, sep=" ") - env.set('TK_LIBRARY',os.path.join(prereq_dir, 'lib', 'tk' + env.get('TCL_SHORT_VERSION'))) + env.set('TK_LIBRARY',os.path.join(root, 'lib', 'tk' + env.get('TCL_SHORT_VERSION'))) if not platform.system() == "Windows" : env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib')) -- 2.39.2