Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
677B

  1. diff -Naur Python-3.8.0-orig/Lib/distutils/cygwinccompiler.py Python-3.8.0/Lib/distutils/cygwinccompiler.py
  2. --- Python-3.8.0-orig/Lib/distutils/cygwinccompiler.py 2019-10-22 10:04:05.048267100 +0300
  3. +++ Python-3.8.0/Lib/distutils/cygwinccompiler.py 2019-10-22 10:04:06.140269100 +0300
  4. @@ -238,7 +238,7 @@
  5. # (On my machine: 10KiB < stripped_file < ??100KiB
  6. # unstripped_file = stripped_file + XXX KiB
  7. # ( XXX=254 for a typical python extension))
  8. - if not debug:
  9. + if not debug and not hasattr(sys, 'gettotalrefcount'):
  10. extra_preargs.append("-s")
  11. UnixCCompiler.link(self, target_desc, objects, output_filename,