Skip to content

Commit 96292e0

Browse files
committed
allow pkg-config in case of vcpkg fail
so MinGW can also have an ability to link system libcurl
1 parent 7456bad commit 96292e0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

curl-sys/build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ fn main() {
4040
if try_vcpkg() {
4141
return;
4242
}
43-
} else if try_pkg_config() {
43+
}
44+
45+
if try_pkg_config() {
4446
return;
4547
}
4648
}

0 commit comments

Comments
 (0)