Skip to content

Commit

Permalink
LuaJIT beta8 hotfix Homebrew#1
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Vandenberg <[email protected]>
  • Loading branch information
Austin Seipp authored and martinploeger committed Oct 8, 2011
1 parent 16ce533 commit 14f957f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Library/Formula/luajit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ def options
[["--debug", "Build with debugging symbols."]]
end

# Apply beta8 hotfix #1
def patches
{ :p1 => "http://luajit.org/download/beta8_hotfix1.patch" }
end

def install
if ARGV.include? '--debug'
system "make", "CCDEBUG=-g", "PREFIX=#{prefix}", "install"
Expand Down

0 comments on commit 14f957f

Please sign in to comment.