MINGW-packages/mingw-w64-python-cx-logging/0001-setup-remove-compiler-option.patch
2024-03-23 09:34:53 +05:30

14 lines
587 B
Diff

diff --git a/setup.py b/setup.py
index 81d2c45..c174325 100644
--- a/setup.py
+++ b/setup.py
@@ -36,8 +36,6 @@ class build_ext(setuptools.command.build_ext.build_ext):
self.import_library_name = os.path.join(
self.build_implib, "lib%s.a" % ext.name
)
- extra_link_args.append("-Wl,--add-stdcall-alias")
- extra_link_args.append("-Wl,--enable-stdcall-fixup")
extra_link_args.append("-Wl,--out-implib=%s" % self.import_library_name)
ext.libraries = ["ole32"]
else: