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.

14 lines
652B

  1. --- Python-3.8.7/setup.py.orig 2020-12-26 07:15:03.663309900 +0100
  2. +++ Python-3.8.7/setup.py 2020-12-26 07:51:28.765752400 +0100
  3. @@ -892,7 +892,11 @@
  4. depends=['testcapi_long.h']))
  5. # Python Internal C API test module
  6. + macros = []
  7. + if MS_WINDOWS:
  8. + macros.append(('PY3_DLLNAME', 'L"%s"' % sysconfig.get_config_var('DLLLIBRARY')))
  9. self.add(Extension('_testinternalcapi', ['_testinternalcapi.c'],
  10. + define_macros=macros,
  11. extra_compile_args=['-DPy_BUILD_CORE_MODULE']))
  12. # Python PEP-3118 (buffer protocol) test module