diff options
| author | ruki <[email protected]> | 2024-04-27 23:38:53 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-27 23:38:53 +0800 |
| commit | 610fbdbff9f85aaf6dbfd8c086ef28c1d2faf29f (patch) | |
| tree | 2df3ba5332762d58e1d70110989ef3642a33cc53 | |
| parent | fd6bc85572e3c1811a8a7aa8f4c3c19089da7d50 (diff) | |
Update configurations.lua
| -rw-r--r-- | xmake/modules/package/manager/vcpkg/configurations.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/manager/vcpkg/configurations.lua b/xmake/modules/package/manager/vcpkg/configurations.lua index c5ba8dcc5..1bd239597 100644 --- a/xmake/modules/package/manager/vcpkg/configurations.lua +++ b/xmake/modules/package/manager/vcpkg/configurations.lua @@ -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 |
