Skip to content

Commit

Permalink
Update configurations.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi authored Apr 27, 2024
1 parent fd6bc85 commit 610fbdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xmake/modules/package/manager/vcpkg/configurations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ function triplet(configs, plat, arch)
triplet = triplet .. "-md"
end
elseif plat == "linux" then
if (arch == "x64" or arch == "x86") and configs.shared == true then
if (arch == "x64" or arch == "x86") and configs.shared then
triplet = triplet .. "-dynamic"
end
elseif plat == "macosx" then
if arch == "x64" and configs.shared == true then
if arch == "x64" and configs.shared then
triplet = triplet .. "-dynamic"
end
elseif plat == "mingw" then
Expand Down

0 comments on commit 610fbdb

Please sign in to comment.