Skip to content

Commit

Permalink
use vcpkg only for *-msvc targets
Browse files Browse the repository at this point in the history
  • Loading branch information
ognevny committed Nov 27, 2024
1 parent e6f7be6 commit 184cdb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curl-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn main() {
}

// Next, fall back and try to use pkg-config if its available.
if windows {
if target.contains("msvc") {
if try_vcpkg() {
return;
}
Expand Down

0 comments on commit 184cdb0

Please sign in to comment.