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.

15 lines
620B

  1. diff -Naur Python-3.8.0-orig/setup.py Python-3.8.0/setup.py
  2. --- Python-3.8.0-orig/setup.py 2019-10-22 10:02:14.974473800 +0300
  3. +++ Python-3.8.0/setup.py 2019-10-22 10:02:33.866107000 +0300
  4. @@ -2030,6 +2030,10 @@
  5. return True
  6. def configure_ctypes(self, ext):
  7. + if MS_WINDOWS:
  8. + ext.libraries.extend(['ole32', 'oleaut32', 'uuid'])
  9. + ext.export_symbols.extend(['DllGetClassObject PRIVATE',
  10. + 'DllCanUnloadNow PRIVATE'])
  11. if not self.use_system_libffi:
  12. if MACOS:
  13. return self.configure_ctypes_darwin(ext)