Specified static library for Lua subproject

This commit is contained in:
Francesco Abbate 2020-06-30 16:17:17 +02:00
parent 9a52b440f5
commit 0b16ce725c
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@ cc = meson.get_compiler('c')
libm = cc.find_library('m', required : false)
libdl = cc.find_library('dl', required : false)
lua_subproject = subproject('lua', default_options: ['use_readline=false'])
lua_subproject = subproject('lua', default_options: [
'default_library=static', 'use_readline=false'
])
lua_dep = lua_subproject.get_variable('lua_dep')
sdl_dep = dependency('sdl2', method: 'config-tool')