vim: fix building with Lua, add --enable-luainterp

Closes #7576.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
Ilya Novickov 2016-12-06 12:04:08 +07:00 committed by Tomasz Pajor
parent c44c5a8c85
commit d8a0957e75

View file

@ -84,6 +84,10 @@ class Vim < Formula
opts << "--without-x"
end
if build.with? "lua"
opts << "--enable-luainterp"
end
if build.with? "luajit"
opts << "--with-luajit"
opts << "--enable-luainterp"