Skip to content

Commit

Permalink
luarocks: fix with-luajit not finding lua headers
Browse files Browse the repository at this point in the history
Closes Homebrew#26004.
Closes Homebrew#25954.

Signed-off-by: Brett Koonce <koonce@gmail.com>
  • Loading branch information
brettkoonce committed Jan 18, 2014
1 parent 77fe70b commit d12853e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Library/Formula/luarocks.rb
Expand Up @@ -11,6 +11,9 @@ class Luarocks < Formula

if build.include? 'with-luajit'
depends_on 'luajit'
# luajit depends internally on lua being installed
# and is only 5.1 compatible, see #25954
depends_on 'lua'
elsif build.include? 'with-lua52'
depends_on 'lua52'
else
Expand Down

0 comments on commit d12853e

Please sign in to comment.