![thread](img/i_forum.png)
![cs2d](img/icons/cs2d.png)
First approach would be having liblua5.1.so/lua51.dll act as the wrapper itself and Lua C modules compiled depends on that DLL/shared object.
![√](img/ok.gif)
![×](img/x.gif)
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./CS2D
A second approach would be compiling the C modules and the CS2D Lua wrapper together. It's just single file "cs2dlua.c" that must be added to module compilation.
![√](img/ok.gif)
![×](img/x.gif)
I'm also open to other suggestion that maybe interesting.
Regards,
AuahDark