ps2dev / ps2-packer

Create packed ELF files to run on the PS2
GNU General Public License v2.0
73 stars 28 forks source link

fix packer invocation on cygwin #38

Closed secretagentmoof closed 11 months ago

secretagentmoof commented 11 months ago

cygwin uses .dll, not .so, for its libraries

AKuHAK commented 11 months ago

Don't understand the purpose of this change. The whole Windows family uses dll, not only Cygwin.

secretagentmoof commented 11 months ago

For whatever reason, cygwin does not define _WIN32; the suffix defaults to .so, and the packer tries to load ./lzma-packer.so (and fails). cygwin does expose __CYGWIN__, however.