On Fri, May 20, 2011 at 12:19 PM, steve donovan
<[email protected]> wrote:
> There is a slight impedance match because pkgconfig provides the full
> C flags and the full link flags
Apologies for replying to my own posts!
Here I wonder if it's a good idea to put this kind of logic within LR itself.
Another alternative is offered by the Lake backend I'm working on:
build = {
type = 'lake',
lakefile = [[
c.shared {'bar',src='src/bar',needs='foo-1.2'}
]],
install = {
lib = {
foo = 'src/foo'
}
}
}
In Lake, pkg-config is used as a fall-back if a 'need' cannot be
resolved. Note that this backend does not actually do the copying,
hence the explicit install.lib.foo.
steve d.
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers