Skip to content

Commit f6a19d1

Browse files
committed
Fix zlib windows build
1 parent fad49ab commit f6a19d1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ before-all = [
8484
"vcpkg install zlib:x64-windows-static-md",
8585
"pip install delvewheel",
8686
]
87-
environment = { CL = "/I C:/vcpkg/installed/x64-windows-static-md/include", LINK = "/LIBPATH:C:/vcpkg/installed/x64-windows-static-md/lib" }
87+
environment = { CL = "/I C:/vcpkg/installed/x64-windows-static-md/include" }
8888
repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel}"
8989
test-command = "gambaterm --help"
9090

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_extensions() -> list[Extension]:
2626
# Add zlib library for ZIP support
2727
libraries = []
2828
if platform.system() == "Windows":
29-
libraries += ["zlib"]
29+
libraries += ["zs"]
3030
else:
3131
libraries += ["z"]
3232

0 commit comments

Comments
 (0)