diff options
Diffstat (limited to 'xmake/modules/private/utils/package.lua')
| -rw-r--r-- | xmake/modules/private/utils/package.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/modules/private/utils/package.lua b/xmake/modules/private/utils/package.lua index 7a2ad1365..1bdef40b5 100644 --- a/xmake/modules/private/utils/package.lua +++ b/xmake/modules/private/utils/package.lua @@ -34,6 +34,12 @@ function _concat_packages(a, b) -- we need to ensure link orders when removing repeat values v = table.reverse_unique(v) end + elseif k == "static" or k == "shared" then + v = table.unwrap(table.unique(v)) + if type(v) == "table" then + -- conflict, {true, false} + v = true + end else v = table.unique(v) end |
