From 0b16ce725c420e28a6fbf3b9cf8f8a1be7d2bc7b Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Tue, 30 Jun 2020 16:17:17 +0200 Subject: [PATCH] Specified static library for Lua subproject --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 11fa950a..fc66a8e5 100644 --- a/meson.build +++ b/meson.build @@ -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')