Merge pull request #997 from jgmdev/PR/meson-fix-static

meson: fix not obeyed forcefallback for lua
This commit is contained in:
Jefferson González 2022-05-30 13:27:28 -04:00 committed by GitHub
commit c92c545fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ if not get_option('source-only')
]
foreach lua : lua_names
last_lua = (lua == lua_names[-1])
last_lua = (lua == lua_names[-1] or get_option('wrap_mode') == 'forcefallback')
lua_dep = dependency(lua, fallback: last_lua ? ['lua', 'lua_dep'] : [], required : last_lua,
version: '>= 5.4',
default_options: default_fallback_options + ['default_library=static', 'line_editing=false', 'interpreter=false']