Libpng is correctly statically linked now

This commit is contained in:
Marc Garcia Puig 2019-03-07 13:55:26 +01:00
parent 2cfe7ad136
commit 49e028c565
1 changed files with 2 additions and 1 deletions

View File

@ -122,7 +122,8 @@ if not exist "%LIBPNG_INSTALL_DIR%\include" (
mkdir "%LIBPNG_INSTALL_DIR%\include"
)
lib /nologo /MACHINE:X64 /LTCG /OUT:"%LIBPNG_INSTALL_DIR%\lib\libpng.lib" /LIBPATH:"%ZLIB_INST_DIR%\lib" "*.obj" "zlib.lib"
lib /nologo /MACHINE:X64 /LTCG /OUT:"%LIBPNG_INSTALL_DIR%\lib\libpng.lib"^
/LIBPATH:"%ZLIB_INST_DIR%\lib" "*.obj" "zlibstatic.lib"
copy "%LIBPNG_SOURCE_DIR%\png.h" "%LIBPNG_INSTALL_DIR%\include\png.h"
copy "%LIBPNG_SOURCE_DIR%\pngconf.h" "%LIBPNG_INSTALL_DIR%\include\pngconf.h"