mmozeiko / pkg2zip

Decrypts PlayStation Vita pkg file and packages to zip archive
The Unlicense
406 stars 89 forks source link

fix build.cmd builds #2

Closed VitaSmith closed 6 years ago

VitaSmith commented 6 years ago

Small issue but the current build.cmd fails with:

Generating Code...
pkg2zip_zrif.obj : error LNK2019: unresolved external symbol puff referenced in function zlib_inflate
pkg2zip.exe : fatal error LNK1120: 1 unresolved externals

This is due to the script only compiling sources that match pkg2zip*.c. I preferred renaming puff.[c|h] and updating the refs, rather than updating build.cmd, as you modified puff slightly and I think the project looks better that way.

Very nice work btw.

mmozeiko commented 6 years ago

You're right, I forgot to check Windows build. I'll fix it. But I don't want to rename this file - I did not write it. I prefer to keep it with same name as original.