mujs icon indicating copy to clipboard operation
mujs copied to clipboard

Incorrect linker flag to build shared-lib on darwin

Open dmacks opened this issue 1 year ago • 0 comments

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.

dmacks avatar Sep 17 '23 05:09 dmacks