diff options
| author | ruki <[email protected]> | 2021-11-25 16:53:41 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-25 16:53:41 +0800 |
| commit | 7d58f6d48d9124e30c3613b4a62d3b940b929335 (patch) | |
| tree | bea130ce0f57d68ce08f1444f3934a52239726a2 | |
| parent | a77a0dc5b6c996e5a2a4296237fd0431f8804b09 (diff) | |
Update find_package.lua
| -rw-r--r-- | xmake/modules/package/manager/vcpkg/find_package.lua | 2 |
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 {} |
