Skip to content

Commit

Permalink
Really fix build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nhusung committed Feb 27, 2024
1 parent 8df0f06 commit f6b2211
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindings/python/ffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]


Expand Down

0 comments on commit f6b2211

Please sign in to comment.