|
gary ng wrote:
You should better patch require or just replace global require with your own version.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.
Solitary does this to handle modules loading transparently. Regards, e.v.e