Skip to content

Commit

Permalink
Fix static build for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
nhusung committed Feb 27, 2024
1 parent f6b2211 commit 40acc68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bindings/python/ffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ def read_cdefs(header: Path) -> str:

cdefs = read_cdefs(oxidd_h)

flags: Dict[str, List[str]] = {}
flags: Dict[str, List[str]] = {
"libraries": [] # for `+=` (MSVC)
}

if build_mode == BuildMode.STATIC:
flags["include_dirs"] = [str(include_dir)]
Expand Down

0 comments on commit 40acc68

Please sign in to comment.