summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoeffn <[email protected]>2022-09-03 15:36:10 +0200
committerGitHub <[email protected]>2022-09-03 15:36:10 +0200
commit72e4fc1453ac10299fc2257dd074c70c21865718 (patch)
tree19cb94d88005fd17fc183c48737633c82de8f859
parent1acf248c04f6ccf89bc3dfed5f37bd3b3a1617f2 (diff)
Fixes freebsd platform triplet name
-rw-r--r--xmake/modules/package/manager/vcpkg/install_package.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/package/manager/vcpkg/install_package.lua b/xmake/modules/package/manager/vcpkg/install_package.lua
index 27d4a1d65..cb7093943 100644
--- a/xmake/modules/package/manager/vcpkg/install_package.lua
+++ b/xmake/modules/package/manager/vcpkg/install_package.lua
@@ -82,6 +82,8 @@ function _install_for_manifest(vcpkg, name, opt)
local plat = opt.plat
if plat == "macosx" then
plat = "osx"
+ elseif plat == "bsd" then
+ plat = "freebsd"
end
arch = configurations.arch(arch)
local triplet = arch .. "-" .. plat