mirror of
https://github.com/mpv-player/mpv
synced 2025-04-29 14:50:14 +00:00
build: give precedence to Lua52 over LuaJIT
LuaJIT ships with a broken .pc file on OS X (see #1110), and leaving Lua52 last was done only to improve libquvi interoperability.
This commit is contained in:
parent
e7145ae24d
commit
d7adb818b0
@ -49,11 +49,10 @@ def check_lua(ctx, dependency_identifier):
|
|||||||
( '51', 'lua >= 5.1.0 lua < 5.2.0'),
|
( '51', 'lua >= 5.1.0 lua < 5.2.0'),
|
||||||
( '51deb', 'lua5.1 >= 5.1.0'), # debian
|
( '51deb', 'lua5.1 >= 5.1.0'), # debian
|
||||||
( '51fbsd', 'lua-5.1 >= 5.1.0'), # FreeBSD
|
( '51fbsd', 'lua-5.1 >= 5.1.0'), # FreeBSD
|
||||||
( 'luajit', 'luajit >= 2.0.0' ),
|
|
||||||
# assume all our dependencies link with 5.1
|
|
||||||
( '52', 'lua >= 5.2.0' ),
|
( '52', 'lua >= 5.2.0' ),
|
||||||
( '52deb', 'lua5.2 >= 5.2.0'), # debian
|
( '52deb', 'lua5.2 >= 5.2.0'), # debian
|
||||||
( '52fbsd', 'lua-5.2 >= 5.2.0'), # FreeBSD
|
( '52fbsd', 'lua-5.2 >= 5.2.0'), # FreeBSD
|
||||||
|
( 'luajit', 'luajit >= 2.0.0' ),
|
||||||
]
|
]
|
||||||
|
|
||||||
if ctx.options.LUA_VER:
|
if ctx.options.LUA_VER:
|
||||||
|
Loading…
Reference in New Issue
Block a user