13 lines
677 B
Diff
13 lines
677 B
Diff
diff -Naur Python-3.7.0-orig/Lib/distutils/cygwinccompiler.py Python-3.7.0/Lib/distutils/cygwinccompiler.py
|
|
--- Python-3.7.0-orig/Lib/distutils/cygwinccompiler.py 2018-07-12 10:22:30.511275100 +0300
|
|
+++ Python-3.7.0/Lib/distutils/cygwinccompiler.py 2018-07-12 10:22:30.838875600 +0300
|
|
@@ -238,7 +238,7 @@
|
|
# (On my machine: 10KiB < stripped_file < ??100KiB
|
|
# unstripped_file = stripped_file + XXX KiB
|
|
# ( XXX=254 for a typical python extension))
|
|
- if not debug:
|
|
+ if not debug and not hasattr(sys, 'gettotalrefcount'):
|
|
extra_preargs.append("-s")
|
|
|
|
UnixCCompiler.link(self, target_desc, objects, output_filename,
|