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
769B

  1. diff -Naur Python-3.8.0-orig/Lib/distutils/command/build_ext.py Python-3.8.0/Lib/distutils/command/build_ext.py
  2. --- Python-3.8.0-orig/Lib/distutils/command/build_ext.py 2019-10-22 10:03:03.194158500 +0300
  3. +++ Python-3.8.0/Lib/distutils/command/build_ext.py 2019-10-22 10:04:11.803079000 +0300
  4. @@ -218,7 +218,7 @@
  5. # For extensions under Cygwin, Python's library directory must be
  6. # appended to library_dirs
  7. - if sys.platform[:6] == 'cygwin':
  8. + if sys.platform[:6] == 'cygwin' or self.plat_name.startswith(('mingw')):
  9. if sys.executable.startswith(os.path.join(sys.exec_prefix, "bin")):
  10. # building third party extensions
  11. config_dir_name = os.path.basename(sysconfig.get_config_var('LIBPL'))