Skip to content

Commit c516155

Browse files
authored
Merge pull request #25592 from clebreto/fix-conf-ppl-homebrew
Provides path to lib and include dirs for homebrew distribution.
2 parents e40461d + 5af5be8 commit c516155

File tree

1 file changed

+4
-0
lines changed
  • packages/conf-ppl/conf-ppl.1

1 file changed

+4
-0
lines changed

packages/conf-ppl/conf-ppl.1/opam

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ bug-reports: "http://bugseng.com/products/ppl/bugs"
55
license: "GPL-1.0-or-later"
66
build: [
77
["sh" "-c"
8+
"cc test.c -I${HOMEBREW_PREFIX:-/opt/homebrew}/include -L${HOMEBREW_PREFIX:-/opt/homebrew}/lib -lppl_c -lppl" {os = "macos" & os-distribution = "homebrew"}
89
"cc test.c -lppl_c -lppl" {os != "freebsd" & os != "openbsd"}
910
"cc test.c -I/usr/local/include -L/usr/local/lib -lppl_c -lppl" {os = "freebsd" | os = "openbsd"}]
1011
]
12+
x-ci-accept-failures: [
13+
"oraclelinux-8" "oraclelinux-9" "alpine-3.19"
14+
]
1115
depexts: [
1216
["libppl-dev"] {os-family = "debian"}
1317
["libppl-dev"] {os-family = "ubuntu"}

0 commit comments

Comments
 (0)