From 96292e00c1cda25f421fbda2a8fa3f3948f70086 Mon Sep 17 00:00:00 2001 From: Maksim Bondarenkov Date: Wed, 29 Oct 2025 16:28:09 +0300 Subject: [PATCH] allow pkg-config in case of vcpkg fail so MinGW can also have an ability to link system libcurl --- curl-sys/build.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/curl-sys/build.rs b/curl-sys/build.rs index e9a26564c..b8c589c06 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -40,7 +40,9 @@ fn main() { if try_vcpkg() { return; } - } else if try_pkg_config() { + } + + if try_pkg_config() { return; } }