aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/luarocks.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/luarocks.rb b/Library/Formula/luarocks.rb
index 9f54bcd61..ff18bee80 100644
--- a/Library/Formula/luarocks.rb
+++ b/Library/Formula/luarocks.rb
@@ -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