Hi all,
Here is the issue - assuming I have built my extensions in some way
not with "builtin", and wish to install them using LR:
build = {
...
install = {
lib = {'bar'}
}
}
But (alas) the file copying logic is not clever enough to append an
appropriate extension (.dll or .so) where no extension is provided so
I have to resort to per-platform overrides.
It was not a difficult thing to patch, and I can supply the changes if
anyone also thinks that this could be useful. (An entertaining
side-effect of the change is that LR can now deliver regular
executables)
Why I would push for it is that it makes a Lake backend much easier.
Lake was never intended to do installation, since I knew LR already
knew how to do this. So it would go like this:
build = {
type = "lake",
lakefile = [[
c.shared{'bar',src='bar tools',needs='lua'}
]],
install = { lib = {'bar'}}
}
(Of course here you could use type="builtin", but this is for more
complicated scenarios)
steve d.
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers