From: Nabil Ghodbane Date: Fri, 9 Dec 2022 12:26:56 +0000 (+0100) Subject: sat #33094: TK is installed along with TCL X-Git-Tag: V9_11_0~152 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bf9689eade9813ca136dfb64f2a261f1de1f335f;p=tools%2Fsat_salome.git sat #33094: TK is installed along with TCL --- 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'))