github-runner: adapt to latest lttng-ust

ref: ab2501bd171f2c930ebd3f3bf6b6a1a228477a08
(cherry picked from commit 1614fc6eb63d012b704cbb34b9c53c823d51c32c)
This commit is contained in:
Vincent Haupert 2021-09-07 16:16:29 +02:00 committed by github-actions[bot]
parent ae4d181d6a
commit 364426a01d
1 changed files with 4 additions and 0 deletions

View File

@ -237,6 +237,10 @@ stdenv.mkDerivation rec {
# Stripping breaks the binaries
dontStrip = true;
preFixup = ''
patchelf --replace-needed liblttng-ust.so.0 liblttng-ust.so $out/lib/libcoreclrtraceptprovider.so
'';
postFixup = ''
fix_rpath() {
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/lib/$1