I'd like to build the luv rock with a set of options:
luarocks build luv -DCMAKE_C_FLAGS:STRING="..." -DCMAKE_MODULE_LINKER_FLAGS:STRING="..."
How do I pass "-D assignments" to cmake when using luarocks cmake builder?
If this is not possible, is there a way to manually build/install a rock? For example, I'd like to download luv source code, manually invoke cmake with desired options, install the .so file to /usr/lib/lua/5.1 and then generate a rock manifest/spec so that luarocks will use it to resolve other rocks dependencies.
I'd like to build the luv rock with a set of options:
How do I pass "-D assignments" to cmake when using luarocks cmake builder?
If this is not possible, is there a way to manually build/install a rock? For example, I'd like to download luv source code, manually invoke cmake with desired options, install the .so file to
/usr/lib/lua/5.1and then generate a rock manifest/spec so that luarocks will use it to resolve other rocks dependencies.