Skip to content

Commit

Permalink
setup.py: add FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Oct 21, 2024
1 parent 9c76b7b commit 6d085c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class Config:
"Linux": ["x86_64", "aarch64"],
"Linux-musl": ["x86_64", "aarch64"],
"Windows": ["amd64"],
"FreeBSD": ["amd64"],
}

base_dir: pathlib.Path = Path(__file__).parent
Expand Down Expand Up @@ -133,6 +134,7 @@ def libzim_fname(self):
"Darwin": f"libzim.{self.libzim_major}.dylib",
"Linux": f"libzim.so.{self.libzim_major}",
"Windows": f"zim-{self.libzim_major}.dll",
"FreeBSD": f"libzim.so.{self.libzim_major}",
}[self.platform]

@property
Expand Down

0 comments on commit 6d085c5

Please sign in to comment.