github-runner: adapt to latest lttng-ust
ref: ab2501bd171f2c930ebd3f3bf6b6a1a228477a08 (cherry picked from commit 1614fc6eb63d012b704cbb34b9c53c823d51c32c)
This commit is contained in:
parent
ae4d181d6a
commit
364426a01d
|
@ -237,6 +237,10 @@ stdenv.mkDerivation rec {
|
||||||
# Stripping breaks the binaries
|
# Stripping breaks the binaries
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
patchelf --replace-needed liblttng-ust.so.0 liblttng-ust.so $out/lib/libcoreclrtraceptprovider.so
|
||||||
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
fix_rpath() {
|
fix_rpath() {
|
||||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/lib/$1
|
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/lib/$1
|
||||||
|
|
Loading…
Reference in New Issue