File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -939,11 +939,11 @@ def get_var(file, varname):
939
939
result = p .communicate ()[0 ]
940
940
return result
941
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 :]
942
+ tcl_lib_dir = get_var (tcl_config , 'TCL_LIB_SPEC' ).split ()[0 ][2 :]. strip ()
943
+ tcl_inc_dir = get_var (tcl_config , 'TCL_INCLUDE_SPEC' )[2 :]. strip ()
944
944
tcl_lib = get_var (tcl_config , 'TCL_LIB_FLAG' )[2 :].strip ()
945
945
946
- tk_lib_dir = get_var (tk_config , 'TK_LIB_SPEC' ).split ()[0 ][2 :]
946
+ tk_lib_dir = get_var (tk_config , 'TK_LIB_SPEC' ).split ()[0 ][2 :]. strip ()
947
947
tk_inc_dir = get_var (tk_config , 'TK_INCLUDE_SPEC' ).strip ()
948
948
if tk_inc_dir == '' :
949
949
tk_inc_dir = tcl_inc_dir
You can’t perform that action at this time.
0 commit comments