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

Skip to content

Commit 6c5f46c

Browse files
committed
Appveyor: make sure that zlib and libpng are statically compiled in
1 parent 0f424a0 commit 6c5f46c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

appveyor.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ install:
8383
- cmd: 'mkdir lib || cmd /c "exit /b 0"'
8484
- copy %LIBRARY_LIB%\zlibstatic.lib lib\z.lib
8585
- copy %LIBRARY_LIB%\libpng_static.lib lib\png.lib
86+
# These z.lib / png.lib are not static versions but files which end up as
87+
# dependencies to the dll file. This is fine for the conda build, but not here
88+
# and for the wheels
89+
- del %LIBRARY_LIB%\png.lib
90+
- del %LIBRARY_LIB%\z.lib
8691
- set MPLBASEDIRLIST=%CONDA_PREFIX%\Library\;.
8792
# enables the local freetype build
8893
- copy ci\travis\setup.cfg .

0 commit comments

Comments
 (0)