mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 23:02:37 +00:00
meson: also check for generic lua.pc
Some systems have only a "lua.pc" file which contains version information inside it. Check those as well.
This commit is contained in:
parent
dfbaf4dd81
commit
e6ce03f3ef
@ -701,7 +701,8 @@ lua = {
|
||||
}
|
||||
lua_opt = get_option('lua')
|
||||
if lua_opt != 'disabled'
|
||||
lua_version = [['lua52', '>= 5.2.0'],
|
||||
lua_version = [['lua', ['>=5.1.0', '<5.3.0']], # generic lua.pc
|
||||
['lua52', '>= 5.2.0'],
|
||||
['lua5.2', '>= 5.2.0'],
|
||||
['lua-5.2', '>= 5.2.0'],
|
||||
['luajit', '>= 2.0.0'],
|
||||
|
@ -21,7 +21,7 @@ option('libavdevice', type: 'feature', value: 'auto', description: 'libavdevice'
|
||||
option('libbluray', type: 'feature', value: 'auto', description: 'Bluray support')
|
||||
option('lua',
|
||||
type: 'combo',
|
||||
choices: ['lua52', 'lua5.2', 'lua-5.2', 'luajit', 'lua51',
|
||||
choices: ['lua', 'lua52', 'lua5.2', 'lua-5.2', 'luajit', 'lua51',
|
||||
'lua5.1', 'lua-5.1', 'auto', 'enabled', 'disabled'],
|
||||
value: 'auto',
|
||||
description: 'Lua'
|
||||
|
Loading…
Reference in New Issue
Block a user