summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-25 16:53:41 +0800
committerGitHub <[email protected]>2021-11-25 16:53:41 +0800
commit7d58f6d48d9124e30c3613b4a62d3b940b929335 (patch)
treebea130ce0f57d68ce08f1444f3934a52239726a2
parenta77a0dc5b6c996e5a2a4296237fd0431f8804b09 (diff)
Update find_package.lua
-rw-r--r--xmake/modules/package/manager/vcpkg/find_package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/vcpkg/find_package.lua b/xmake/modules/package/manager/vcpkg/find_package.lua
index 36df275ba..4b587be0a 100644
--- a/xmake/modules/package/manager/vcpkg/find_package.lua
+++ b/xmake/modules/package/manager/vcpkg/find_package.lua
@@ -109,7 +109,7 @@ function main(name, opt)
end
-- get linkdirs and links
- if (plat == "windows" and line:endswith(".lib")) or line:endswith(".a") then
+ if (plat == "windows" and line:endswith(".lib")) or line:endswith(".a") or line:endswith(".so") then
if line:find(triplet .. (mode == "debug" and "/debug" or "") .. "/lib/", 1, true) then
result = result or {}
result.links = result.links or {}