lua-users home
lua-l archive

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


gary ng wrote:
What if my lua program has 'require' statements ?

I can patch linit.c to include my frequently used C
libraries(lmd5, lposix etc.) but don't know how to
include modules that is written in lua to be all
embedded into one single executable.
You should better patch require or just replace global require with your own version.
Solitary does this to handle modules loading transparently.

Regards,
e.v.e