hererocks icon indicating copy to clipboard operation
hererocks copied to clipboard

Compile CLUA5* with SO lib target

Open guyzmo opened this issue 8 years ago • 2 comments

Hello, I'm using hererocks to test the embedded runtime integration in a program, and it's lacking the .so creation. Is there a way to make hererocks generate it? Or would it be possible to patch building of clua so it builds the shared library? As it's building the .so for luajit, it'd be a good idea to have it consistent across flavours.

guyzmo avatar Feb 24 '17 16:02 guyzmo

Hello, currently hererocks doesn't build .so for PUC-Rio Lua because neither does its standard Makefile, unlike LuaJIT. It should be possible to add it though. I don't know when I'll be able to look into it so patches are welcome (you'd want to add building the target to make method of RioLua class and add installing it to make_install method).

mpeterv avatar Feb 25 '17 09:02 mpeterv

ok, done! Changing the makefile was useless (I tried that at first) because the make method doesn't care of what's happening in the makefile, so I ended up patching the make/make_install methods directly :)

guyzmo avatar Feb 25 '17 12:02 guyzmo