lua-users home
lua-l archive

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

On Tue, Apr 10, 2018 at 6:15 AM, Russell Haley <> wrote:
> Hi, ...

I am used to allocate a static big array in my .c and fill it with the
content of the script. I have some code [1] but, probably, for your
scenario, you need to extract the binary injection tool from the main
executable. You can pre-amalgamate your lua sources with tools like
luasquish [2]. For the C modules, you can statically link them.


[1] (please, ignore 'luancher', it
uses yet an old, messy, binject version)