From ca1a1e0eaeda168da6fc68631abce40679eceb99 Mon Sep 17 00:00:00 2001 From: Grzesiek11 Date: Fri, 26 Sep 2025 02:31:18 +0200 Subject: [PATCH] Try pkg-config on Windows targets pkg-config is still useful to be tried on Windows targets, mainly when building with MinGW. --- curl-sys/build.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/curl-sys/build.rs b/curl-sys/build.rs index b74c0859b..722cf2766 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -40,7 +40,8 @@ fn main() { if try_vcpkg() { return; } - } else if try_pkg_config() { + } + if try_pkg_config() { return; } }