add kind as a default xmake.install augument
@@ -46,6 +46,7 @@ function _get_configs(package, configs)
table.insert(configs, "--plat=" .. package:plat())
table.insert(configs, "--arch=" .. package:arch())
table.insert(configs, "--mode=" .. (package:is_debug() and "debug" or "release"))
+ table.insert(configs, "--kind=" .. (package:config("shared") and "shared" or "static"))
if package:is_plat("windows") then
local vs_runtime = package:config("vs_runtime")
if vs_runtime then
