2014-05-26 13:49 GMT+02:00 Thijs Schreijer <th...@thijsschreijer.nl>: > Maybe best to add as a request to the issue tracker? [1] as it breaks > rockspec compatibility, it can then be tagged as a possible 3.0 feature. > > Btw; if I understand correctly, it builds only the library to be used for > static linking? So after installing it using LR one won't be able to use it > without additional actions. Correct? >
Yes. With shared lib, LuaRocks makes easy to extend Lua. But Lua is not only extensible, Lua is also embeddable. For example, a project like Textadept (http://foicica.com/textadept/) embeds lua as lib, lfs and lpeg. Building this kind of project could be easy if LuaRocks creates static lib for lfs and lpeg, and installs them in the same place as lualib (and includes with lua.h). François > Thijs > > [1] https://github.com/keplerproject/luarocks/issues > >> -----Original Message----- >> From: François Perrad [mailto:francois.per...@gadz.org] >> Sent: zondag 25 mei 2014 9:20 >> To: luarocks-developers >> Subject: [Luarocks-developers] [RFC] static build with LuaRocks 3.0 >> >> currently, Luarocks build/install shared libraries, for example on linux >> $ luarocks install luafilesystem >> build lfs.so, and install it in /usr/local/lib >> >> I want that >> $ luarocks install --static luafilesystem >> build lfs.a and install it in /usr/local/lib >> and install lfs.h in /usr/local/inc >> >> The installation of include files request a new field in the rockspec. >> The option --static has not effect on pure Lua modules. >> >> François >> >> ---------------------------------------------------------------------------- >> -- >> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE >> Instantly run your Selenium tests across 300+ browser/OS combos. >> Get unparalleled scalability from the best Selenium testing platform >> available >> Simple to use. Nothing to install. Get started now for free." >> http://p.sf.net/sfu/SauceLabs >> _______________________________________________ >> Luarocks-developers mailing list >> Luarocks-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/luarocks-developers > ------------------------------------------------------------------------------ > The best possible search technologies are now affordable for all companies. > Download your FREE open source Enterprise Search Engine today! > Our experts will assist you in its installation for $59/mo, no commitment. > Test it for FREE on our Cloud platform anytime! > http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk > _______________________________________________ > Luarocks-developers mailing list > Luarocks-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/luarocks-developers ------------------------------------------------------------------------------ The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers