From ae433453a4a44e129af69999e7970e7d50b73e5e Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 26 May 2021 22:50:13 +0800 Subject: add libdir to meson --- xmake/modules/package/tools/meson.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua index 1a72eb913..a6bdec48a 100644 --- a/xmake/modules/package/tools/meson.lua +++ b/xmake/modules/package/tools/meson.lua @@ -38,8 +38,9 @@ end function _get_configs(package, configs, opt) -- add prefix - local configs = configs or {} + configs = configs or {} table.insert(configs, "--prefix=" .. package:installdir()) + table.insert(configs, "--libdir=lib") -- set build type table.insert(configs, "--buildtype=" .. (package:debug() and "debug" or "release")) -- cgit v1.3.1