mirror of https://github.com/mpv-player/mpv
Detect Lua on FreeBSD
This commit is contained in:
parent
635b2f2690
commit
8255400e9c
|
@ -52,10 +52,12 @@ def check_lua(ctx, dependency_identifier):
|
|||
lua_versions = [
|
||||
( '51', 'lua >= 5.1.0 lua < 5.2.0'),
|
||||
( '51deb', 'lua5.1 >= 5.1.0'), # debian
|
||||
( '51fbsd', 'lua-5.1 >= 5.1.0'), # FreeBSD
|
||||
( 'luajit', 'luajit >= 2.0.0' ),
|
||||
# assume all our dependencies (libquvi in particular) link with 5.1
|
||||
( '52', 'lua >= 5.2.0' ),
|
||||
( '52deb', 'lua5.2 >= 5.2.0'), # debian
|
||||
( '52fbsd', 'lua-5.2 >= 5.2.0'), # FreeBSD
|
||||
]
|
||||
|
||||
if ctx.options.LUA_VER:
|
||||
|
|
2
wscript
2
wscript
|
@ -765,7 +765,7 @@ def options(opt):
|
|||
group.add_option('--lua',
|
||||
type = 'string',
|
||||
dest = 'LUA_VER',
|
||||
help = "select Lua package which should be autodetected. Choices: 51 51deb 52 52deb luajit")
|
||||
help = "select Lua package which should be autodetected. Choices: 51 51deb 51fbsd 52 52deb 52fbsd luajit")
|
||||
|
||||
@conf
|
||||
def is_debug_build(ctx):
|
||||
|
|
Loading…
Reference in New Issue