-
-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes freebsd platform triplet name #2773
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,10 +47,8 @@ function _install_for_classic(vcpkg, name, opt) | |
local arch = opt.arch | ||
local plat = opt.plat | ||
local mode = opt.mode | ||
if plat == "macosx" then | ||
plat = "osx" | ||
end | ||
arch = configurations.arch(arch) | ||
plat = configurations.plat(plat) | ||
arch = configurations.arch(arch) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and here |
||
|
||
-- init triplet | ||
local triplet = arch .. "-" .. plat | ||
|
@@ -80,12 +78,8 @@ function _install_for_manifest(vcpkg, name, opt) | |
-- init triplet | ||
local arch = opt.arch | ||
local plat = opt.plat | ||
if plat == "macosx" then | ||
plat = "osx" | ||
elseif plat == "bsd" then | ||
plat = "freebsd" | ||
end | ||
arch = configurations.arch(arch) | ||
plat = configurations.plat(plat) | ||
arch = configurations.arch(arch) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. here There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. already fixed in b65703e |
||
local triplet = arch .. "-" .. plat | ||
if opt.plat == "windows" and configs.shared ~= true then | ||
triplet = triplet .. "-static" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
incorrect indent