mirror of https://github.com/aya-rs/aya
ci: Enable `llvm-link-static` feature for bpf-linker
Rust CI does not provide dynamic libLLVM tarballs for macOS—only static
ones. Since recent versions of bpf-linker require explicit linkage
configuration for libLLVM, enable the `llvm-link-static` feature to
ensure correct static linking.
Make sure bpf-linker's build.rs sees the downloaded LLVM by adding it
to PATH. On macOS, set the `{CXXSTDLIB,ZLIB}_PATH` variables to point
to the brew prefixes with static libraries it needs.
reviewable/pr1409/r1
parent
7a3c03e178
commit
f76a0db322
Loading…
Reference in New Issue