mujs
mujs copied to clipboard
Incorrect linker flag to build shared-lib on darwin
OS X's compiler (at least on older versions, not sure about current) only accepts -dynamiclib
not -shared
. It's the same meaning, no idea why Apple decided to use their own unique flag instead. So in the Makefile block where SO
is set according to platform, a SHAREDFLAG
could also be set and propagated to the later recipes.