From dad615a7b8757d35c872930a32d4fc1f36d3eaae Mon Sep 17 00:00:00 2001 From: Chen Yufei Date: Wed, 28 Sep 2022 07:34:35 +0800 Subject: xrepo install: set "shared" config if kind is specified. --- xmake/modules/private/xrepo/action/install.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmake/modules/private/xrepo/action/install.lua b/xmake/modules/private/xrepo/action/install.lua index 19d594178..6064c65e9 100644 --- a/xmake/modules/private/xrepo/action/install.lua +++ b/xmake/modules/private/xrepo/action/install.lua @@ -250,9 +250,9 @@ function _install_packages(packages) if mode == "debug" then extra.debug = true end - if kind == "shared" then + if option.get("kind") then extra.configs = extra.configs or {} - extra.configs.shared = true + extra.configs.shared = kind == "shared" end local configs = option.get("configs") if configs then -- cgit v1.3.1