luajit: fix build

make amalg separated from make install. Without this build can fail with
more than one parallel buildjob.

Closes Homebrew/homebrew#24530.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Cyril Lashkevich 2013-11-20 18:00:41 +03:00 committed by Adam Vandenberg
parent d3ee7e752a
commit 9a74aca4dc
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ class Luajit < Formula
# This doesn't yet work under superenv because it removes '-g'
args << 'CCDEBUG=-g' if build.include? 'enable-debug'
system 'make', 'amalg', 'install', *args
system 'make', 'amalg', *args
system 'make', 'install', *args
end
test do