lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> The module builds sucessfully, but when I try to import it into Lua  
> using a require() my app crashes with:

This works fine for me:

env MACOSX_DEPLOYMENT_TARGET=10.3 gcc -o random.so -bundle -undefined dynamic_lookup lrandom.o