Skip to content

Commit de1dd03

Browse files
committed
conf-libcurl: Add mingw-w64-shims as a dependency
Installing `conf-libcurl` can trigger a rebuild of `mingw-w64-shims``, which adjusts the `PATH` to include the `curl-config` script required during the build. However, since `mingw-w64-shims` is not listed as a direct dependency, it may be installed too late, leading to build failures when `curl-config` is not found in the PATH. This commit fixes the issue by declaring `mingw-w64-shims` as a direct build dependency of `conf-libcurl`.
1 parent 27f5ac6 commit de1dd03

File tree

1 file changed

+1
-0
lines changed
  • packages/conf-libcurl/conf-libcurl.2

1 file changed

+1
-0
lines changed

packages/conf-libcurl/conf-libcurl.2/opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ depexts: [
2424
["curl"] {os = "freebsd"}
2525
]
2626
depends: [
27+
"mingw-w64-shims" {os-distribution = "cygwin" & build}
2728
("host-arch-x86_32" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-curl-i686" {os = "win32" & os-distribution != "cygwinports"} |
2829
"host-arch-x86_64" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-curl-x86_64" {os = "win32" & os-distribution != "cygwinports"})
2930
]

0 commit comments

Comments
 (0)