bbbradsmith / nsfplay

Nintendo NES sound file NSF music player
https://bbbradsmith.github.io/nsfplay/
277 stars 42 forks source link

Fix linux build #59

Closed jprjr closed 3 years ago

jprjr commented 3 years ago

Hi there, got a few linux-specific fixes.

nsf2wav now uses strerror, which is defined in string.h on some systems

Makefile previously linked with -liconv, but iconv is built-in to glibc (and possibly other c libraries, not sure). Placing it in a variable so it can be built with make LIBS_ICONV= to specify no flags are needed.