rockspec: call luke with the Lua binary probed by luarocks.
Closes
* luaposix-git-1.rockspec (build.build_command): Prefix with luarocks
expanded $(LUA), otherwise the `#! /usr/bin/env lua` shell magic in
build-aux/luke, which may not match the binary installed by the user.
Reported-by: Gregory Johnson
@@ -27,7 +27,7 @@ dependencies = {
build = {
type = 'command',
- build_command = 'build-aux/luke'
+ build_command = '$(LUA) build-aux/luke'
.. ' package="' .. package .. '"'
.. ' version="' .. version .. '"'
.. ' PREFIX="$(PREFIX)"'
