From cd982a81debf698bc03819c6d13d65aa6b026296 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 e9a26564c..79059dcb6 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; } }