Merge pull request #269207 from NickCao/bpf-linker
bpf-linker: add workaround for #166205
This commit is contained in:
commit
2858c280d2
@ -31,6 +31,11 @@ rustPlatform.buildRustPackage rec {
|
||||
# rust-src and `-Z build-std=core` are required to properly run the tests
|
||||
doCheck = false;
|
||||
|
||||
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple BPF static linker";
|
||||
homepage = "https://github.com/aya-rs/bpf-linker";
|
||||
|
Loading…
Reference in New Issue
Block a user