New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create static libraries #264
Conversation
|
Cool! Let's merge this when LR3 development starts, early June. |
|
Ping. Can I use this feature to embed Lua modules? There is a program using a rock which uses built-in build mode (e.g., LPeg). I want to get a static binary with no external dependencies. I see the following general solution (probably partly done in this pull request):
Current rockspec format has enough information to implement all these cool features in LuaRocks and to build static executables from Lua scripts with just |
...if the rockspec uses the |
|
Merged in |
Create static libraries (see #262) when using "builtin" build mode. Seems to work on Linux, Windows/MinGW, and Windows/VC (I haven't tested linking to the generated static libraries yet ...).
Currently no include files are generated ...