aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/luarocks.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/luarocks.rb b/Library/Formula/luarocks.rb
index da2e5b48b..9f54bcd61 100644
--- a/Library/Formula/luarocks.rb
+++ b/Library/Formula/luarocks.rb
@@ -39,6 +39,7 @@ class Luarocks < Formula
if build.include? 'with-luajit'
args << "--with-lua-include=#{HOMEBREW_PREFIX}/include/luajit-2.0"
args << "--lua-suffix=jit"
+ args << "--with-lua=luajit"
end
system "./configure", *args