Skip to content

Commit

Permalink
libcurl support on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mtelvers committed Oct 28, 2024
1 parent 19f88a0 commit cbae8cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/conf-libcurl/conf-libcurl.2/opam
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ maintainer: "blue-prawn"
authors: ["Daniel Stenberg"]
homepage: "http://curl.haxx.se/"
license: "BSD-like"
build: ["curl-config" "--libs"]
build: [
["sh" "-exc" "curl-config --libs"] {os = "win32" & os-distribution != "cygwinports"}
["curl-config" "--libs"] {os != "win32" | os-distribution = "cygwinports"}
]
depexts: [
["libcurl4-gnutls-dev"] {os-family = "debian"}
["libcurl4-gnutls-dev"] {os-family = "ubuntu"}
Expand All @@ -12,6 +15,7 @@ depexts: [
["curl"] {os-distribution = "nixos"}
["curl"] {os-distribution = "arch"}
["curl"] {os = "win32" & os-distribution = "cygwinports"}
["libcurl-devel"] {os = "win32" & os-distribution = "cygwin"}
["curl-dev"] {os-distribution = "alpine"}
["libcurl-devel"] {os-family = "suse" | os-family = "opensuse"}
["libcurl-devel"] {os-distribution = "fedora"}
Expand Down

0 comments on commit cbae8cd

Please sign in to comment.