12-02-2013, 04:21 PM
I have found out how luarocks work on linux in the meantime - the luarocks' shared libraries use symbols exported from the lua executable itself. The problem for MCServer is that it doesn't export those lua symbols by default, and the only way I found to export the lua symbols is to export *all* symbols. That, however, makes the executable quite large, among other things. Anyone know of a better solution? I need something like __declspec(dllexport) in MSVC; I've tried the __attribute__((visibility("default"))) but it doesn't seem to work.