diff options
| author | Chen Yufei <[email protected]> | 2022-09-28 07:34:35 +0800 |
|---|---|---|
| committer | Chen Yufei <[email protected]> | 2022-09-28 08:11:37 +0800 |
| commit | dad615a7b8757d35c872930a32d4fc1f36d3eaae (patch) | |
| tree | 44909a57261431710780e71fc41d1d3ee84e37b3 | |
| parent | a4bc20c22d7975bedbfc0e895e3635dab1372744 (diff) | |
xrepo install: set "shared" config if kind is specified.
| -rw-r--r-- | xmake/modules/private/xrepo/action/install.lua | 4 |
1 files 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 |
