diff --git a/bindings/python/ffi.py b/bindings/python/ffi.py index 9a01025..9e2de32 100644 --- a/bindings/python/ffi.py +++ b/bindings/python/ffi.py @@ -168,6 +168,8 @@ def read_cdefs(header: Path) -> str: "ws2_32", "msvcrt", ] + flags["runtime_library_dirs"] = [] + flags["extra_compile_args"] = ["/O2" if compiler == "msvc" else "-O2"]