Skip to content

Commit 34a3fc4

Browse files
authored
Merge pull request ocaml#27736 from Leonidas-from-XIV/core-unix-glibc
`core_unix` does not build on non-glibc Linux
2 parents 835997b + 50d1c94 commit 34a3fc4

File tree

2 files changed

+2
-3
lines changed
  • packages/core_unix
    • core_unix.v0.16.0
    • core_unix.v0.17.0

2 files changed

+2
-3
lines changed

packages/core_unix/core_unix.v0.16.0/opam

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ synopsis: "Unix-specific portions of Core"
2929
description: "
3030
Unix-specific extensions to some of the modules defined in [core] and [core_kernel].
3131
"
32-
depexts: ["linux-headers"] {os-family = "alpine"}
33-
available: [ !(os = "freebsd" & os-version >= "14") ]
32+
available: [ !(os = "freebsd" & os-version >= "14") & os-distribution != "alpine" ]
3433
url {
3534
src: "https://ocaml.janestreet.com/ocaml-core/v0.16/files/core_unix-v0.16.0.tar.gz"
3635
checksum: "sha256=4f70a9d3a761799d00c0a207942b4abd9f1a144bbcb19df98021d9fb7bfa9e5f"

packages/core_unix/core_unix.v0.17.0/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ depends: [
2525
"dune" {>= "3.11.0"}
2626
"spawn" {>= "v0.15"}
2727
]
28-
available: [ (arch = "x86_64" | arch = "arm64") & !(os = "freebsd" & os-version >= "14") ]
28+
available: [ (arch = "x86_64" | arch = "arm64") & !(os = "freebsd" & os-version >= "14") & os-distribution != "alpine"]
2929
synopsis: "Unix-specific portions of Core"
3030
description: "
3131
Unix-specific extensions to some of the modules defined in [core] and [core_kernel].

0 commit comments

Comments
 (0)