From 184cdb051ccbba5aec298be4f6d3d2acc8208d60 Mon Sep 17 00:00:00 2001 From: Maksim Bondarenkov Date: Wed, 27 Nov 2024 07:04:39 +0300 Subject: [PATCH] use vcpkg only for `*-msvc` targets --- curl-sys/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curl-sys/build.rs b/curl-sys/build.rs index a451b2440..6c1cdbb47 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -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; }