Skip to content

Commit

Permalink
Update conf-zstd for the mingw-w64 ports
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed May 23, 2024
1 parent bf080f4 commit 2c8d4af
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/conf-zstd/conf-zstd.1.3.8/opam
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@ bug-reports: "https://github.com/ocaml/opam-repository/issues"
authors: ["Facebook"]
license: "BSD-3-Clause"
build: [
["pkg-config" "--atleast-version=1.3.8" "libzstd"]
["pkgconf" {os = "win32" & os-distribution = "cygwin"}
"--personality=i686-w64-mingw32" {os = "win32" & os-distribution = "cygwin" & host-arch-x86_32:installed}
"--personality=x86_64-w64-mingw32" {os = "win32" & os-distribution = "cygwin" & host-arch-x86_64:installed}
"pkg-config" {os != "win32" | os-distribution != "cygwin"}
"--atleast-version=1.3.8" "libzstd"]
]
depends: [
"conf-pkg-config" {build}
("host-arch-x86_32" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-zstd-i686" {os = "win32" & os-distribution != "cygwinports"} |
"host-arch-x86_64" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-zstd-x86_64" {os = "win32" & os-distribution != "cygwinports"})
]
depends: ["conf-pkg-config" {build}]
depexts: [
["libzstd-dev"] {os-family = "debian"}
["libzstd-dev"] {os-family = "ubuntu"}
Expand Down

0 comments on commit 2c8d4af

Please sign in to comment.