]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
sat #33094: TK is installed along with TCL
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 9 Dec 2022 12:26:56 +0000 (13:26 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 9 Dec 2022 12:26:56 +0000 (13:26 +0100)
products/env_scripts/tk.py

index d0d36ace27ac85035f00064ce7cffdb757ba1ff2..1325e626015fa3178d4944afa32e20f6ea8e2f15 100755 (executable)
@@ -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'))