diff --git a/packages/conf-libcurl/conf-libcurl.2/opam b/packages/conf-libcurl/conf-libcurl.2/opam index 1ebd06a141f..660ff80ef9a 100644 --- a/packages/conf-libcurl/conf-libcurl.2/opam +++ b/packages/conf-libcurl/conf-libcurl.2/opam @@ -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"} @@ -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"}