xrepo install: set "shared" config if kind is specified.
@@ -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
