Lake
Lake copied to clipboard
Multiple lua modules in single .dll file
I try this:
c.shared{'cjson', ....
needs='lua',
lua = {"luaopen_cjson", "luaopen_cjson_safe"};
}
but lake use only first function.
Also libflags and flags still do not support array as value.
That seems like a reasonable thing to do - the alternative is to use a .def file of course. I'll put this in. (It's a particular issue for MSVC because it does not export functions by default, unless there is a __declspec(dllexport))
libflags and flags are still strings, yes, but I will fix this. The others (incdir, defines, etc) should now all work with arrays.