Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

luarocks: fix with-luajit not finding lua headers #26004

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Library/Formula/luarocks.rb
Original file line number Diff line number Diff line change
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