Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaef944 commit 984d83eCopy full SHA for 984d83e
setupext.py
@@ -939,11 +939,11 @@ def get_var(file, varname):
939
result = p.communicate()[0]
940
return result
941
942
- tcl_lib_dir = get_var(tcl_config, 'TCL_LIB_SPEC').split()[0][2:]
943
- tcl_inc_dir = get_var(tcl_config, 'TCL_INCLUDE_SPEC')[2:]
+ tcl_lib_dir = get_var(tcl_config, 'TCL_LIB_SPEC').split()[0][2:].strip()
+ tcl_inc_dir = get_var(tcl_config, 'TCL_INCLUDE_SPEC')[2:].strip()
944
tcl_lib = get_var(tcl_config, 'TCL_LIB_FLAG')[2:].strip()
945
946
- tk_lib_dir = get_var(tk_config, 'TK_LIB_SPEC').split()[0][2:]
+ tk_lib_dir = get_var(tk_config, 'TK_LIB_SPEC').split()[0][2:].strip()
947
tk_inc_dir = get_var(tk_config, 'TK_INCLUDE_SPEC').strip()
948
if tk_inc_dir == '':
949
tk_inc_dir = tcl_inc_dir
0 commit comments