fix luajit prefix path

pull/3/head
ruki 6 years ago
parent 4f9430483d
commit f9c8bf82ed
  1. 2
      packages/l/luajit/xmake.lua

@ -20,7 +20,7 @@ package("luajit")
end)
on_build(function (package)
os.vrun("./configure --prefix=%s", package:installdir())
io.gsub("./Makefile", "export PREFIX=.*?\n", "export PREFIX=" .. package:installdir() .. "\n")
os.vrun("make")
end)

Loading…
Cancel
Save