From 17db9b07a001746b72f360ef3bc2199a125b5af2 Mon Sep 17 00:00:00 2001 From: Brett Koonce Date: Mon, 13 Jan 2014 20:30:32 -0600 Subject: luarocks: fix --with-luajit build Closes #25885. Signed-off-by: Mike McQuaid --- Library/Formula/luarocks.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3