On 16 July 2014 12:34, Jerome Vuarand <jerome.vuar...@gmail.com> wrote:
> Hi,
>
> I wrote a basic partial Lua binding for a C library (Freetype2), and
> I'd like to publish it as a rockspec. However the headers files for
> that library are not in the standard include directories (at least on
> my Linux distro), and I need to call pkg-config to get cflags pointing
> to them.
>
> Is there a way to have the "builtin" backend call pkg-config to
> determine compilation and link flags?

Unfortunately not, because it was designed to be cross-platform and
pkg-config is generally not available on Windows. But it's something
that should be available for Unix-only rocks in LuaRocks 3...

-- Hisham

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to