> On 20 Feb 2020, at 03:05, Coda Highland <chighland@gmail.com> wrote:
>
> Also embedding LuaJIT on macOS is a headache.
Really? I tend not to use LuaJIT, but I’ve done this before and I seem to recall it just needed pagezero_size and image_base linker flags to work. What else don’t I know that might bite me?
Regards,
Chris
Those linker flags only work for applications. If you're linking LuaJIT into a library/plugin and you don't control the application loading it, you're out of luck. That's why I had to abandon it.
/s/ Adam