@Wiimm It sounds great to compile with docker, but apparently you can't build macOS binaries with it, according to my friend who compiled it. He used MacPorts to compile the libraries.
Here's some notes from him:
If you need SSH access to a Mac if something doesn't work out, please tell me and I can arrange something. The tools can probably compile on more recent versions of macOS as long as the libraries are linked (and probably if the SDK is installed). [Sic
docker, he'll not be able to do it for macOS (that I know of, seems there's a way to w/ KVM) but cygwin is possible natively by Micorosoft [sic]
That is good that he upgraded libs though, hopefully it'll help out with some of the build process
Here's some notes from him:
see how it has /usr/local/lib/libpng.a? a specifies static archive, -lz means to link statically
read: we had the answer in front of our eyes the entire time, but MacPorts uses /opt/local/lib so we wouldn't have noticed
in short, if you wanted to have it build:
in Makefile, for the Mac specific components change it from /usr/local to /opt/local
and in setup.sh change it from /usr/local to /opt/local as well twice in the Mac area, provided that you actually built with +universal with archs defined as ppc, i386 and x86_64
If you need SSH access to a Mac if something doesn't work out, please tell me and I can arrange something. The tools can probably compile on more recent versions of macOS as long as the libraries are linked (and probably if the SDK is installed). [Sic