summaryrefslogtreecommitdiff
path: root/xmake/modules/lib/detect/find_package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-19 23:46:43 +0800
committerruki <[email protected]>2024-08-19 23:46:43 +0800
commite5c5bb03024be9595b18d1e25779f40278f1d812 (patch)
tree8b17eb0da60d65c84773c5b7680cf8bf95856356 /xmake/modules/lib/detect/find_package.lua
parentcbefe04267b1c7793d8d851dcbe25a7eb1edf73a (diff)
fix packagedeps
Diffstat (limited to 'xmake/modules/lib/detect/find_package.lua')
-rw-r--r--xmake/modules/lib/detect/find_package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/lib/detect/find_package.lua b/xmake/modules/lib/detect/find_package.lua
index 3fdaf56c7..ac1f78ae1 100644
--- a/xmake/modules/lib/detect/find_package.lua
+++ b/xmake/modules/lib/detect/find_package.lua
@@ -35,7 +35,7 @@ function _concat_packages(a, b)
result[k] = v
end
for k, v in pairs(result) do
- if k == "links" then
+ if k == "links" or k == "syslinks" or k == "frameworks" or k == "ldflags" or k == "shflags" then
if type(v) == "table" and #v > 1 then
-- we need to ensure link orders when removing repeat values
v = table.reverse_unique(v)