Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 54a1585

Browse files
committed
BLD: try adding zlib back to _png libraries
1 parent d20a012 commit 54a1585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ def get_extension(self):
656656
default_libraries=(
657657
['png', 'z'] if os.name == 'posix' else
658658
# libpng upstream names their lib libpng16.lib, not png.lib.
659-
[deplib('libpng16')] if os.name == 'nt' else
659+
[deplib('libpng16'), deplib('z')] if os.name == 'nt' else
660660
[]
661661
))
662662
add_numpy_flags(ext)

0 commit comments

Comments
 (0)