Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c132e2

Browse files
committed
Sage patch, slightly modified, to improve tk/tcl detection.
http://trac.sagemath.org/sage_trac/ticket/4176 svn path=/branches/v0_99_maint/; revision=7444
1 parent 04aedbb commit 5c132e2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

setupext.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def add_ft2font_flags(module):
545545
else:
546546
add_base_flags(module)
547547
module.libraries.append('z')
548-
548+
549549
# put this last for library link order
550550
module.libraries.extend(std_libs)
551551

@@ -1037,6 +1037,7 @@ def add_tk_flags(module):
10371037
try:
10381038
tcl_lib_dir, tk_lib_dir, tk_ver = query_tcltk()
10391039
except:
1040+
tk_ver = ''
10401041
result = hardcoded_tcl_config()
10411042
else:
10421043
result = parse_tcl_config(tcl_lib_dir, tk_lib_dir)

0 commit comments

Comments
 (0)