Skip to content

Commit 184cdb0

Browse files
committed
use vcpkg only for *-msvc targets
1 parent e6f7be6 commit 184cdb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curl-sys/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fn main() {
3636
}
3737

3838
// Next, fall back and try to use pkg-config if its available.
39-
if windows {
39+
if target.contains("msvc") {
4040
if try_vcpkg() {
4141
return;
4242
}

0 commit comments

Comments
 (0)