bazel: add patchelf rule

This rule allows overwriting a binaries' rpath.
This is required to use binaries built by Bazel that link against cc_library
targets from nix (like `/nix/store/<hash>/lib/*.so`).
This commit is contained in:
Malte Poll 2023-11-23 17:16:44 +01:00
parent 45879c7360
commit e174c4dfe1
3 changed files with 56 additions and 0 deletions

View file