Hacker News new | ask | show | jobs
by ers35 3592 days ago
You may be interested in a tool I wrote that builds standalone executables: https://github.com/ers35/luastatic

For the following program:

  iup.Message('test', 'hello world')
Build the program to a standalone executable:

  luastatic example.lua /usr/lib/x86_64-linux-gnu/liblua5.2.a -I/usr/include/lua5.2 libiup.a libiuplua52.a libiupcontrols.a `pkg-config --cflags --libs gtk+-3.0` -lX11