Merge pull request #900 from buffet/add-lua-fallback-version

Add minimum version to lua fallback dependency to avoid confusion
This commit is contained in:
Guldoman 2022-03-28 22:33:24 +02:00 committed by GitHub
commit 3e1fdc4157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ if not get_option('source-only')
lua_dep = dependency('lua5.4', fallback: lua_quick_fallback, required : false)
if not lua_dep.found()
lua_dep = dependency('lua', fallback: ['lua', 'lua_dep'],
version: '>= 5.4',
default_options: ['default_library=static', 'line_editing=false', 'interpreter=false']
)
endif