diff options
| author | ruki <[email protected]> | 2021-08-04 17:14:58 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-04 17:14:58 +0800 |
| commit | 0c6571a380e56e223cc43a66c751fe63cdaad395 (patch) | |
| tree | c23c87d028231a8a7d370900051c0b23e25acf2f | |
| parent | 9e441b3aebf8a2615b2d6a4a4965d0b7e386db43 (diff) | |
| parent | a28dd375059ef2423e9f713d57aa5a207dc4693b (diff) | |
Merge pull request #1543 from xq114/patch-1
add kind as a default xmake.install augument
| -rw-r--r-- | xmake/modules/package/tools/xmake.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua index e1e3ac4b0..0c7d9c294 100644 --- a/xmake/modules/package/tools/xmake.lua +++ b/xmake/modules/package/tools/xmake.lua @@ -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 |
