3
0
Fork 0
forked from mirrors/nixpkgs

gnome3.epiphany: fix rpath wrapping

This commit is contained in:
Jan Tojnar 2017-12-31 11:13:59 +01:00
parent ab3a12ed7e
commit c95491cb86
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -30,8 +30,8 @@ stdenv.mkDerivation rec {
postFixup = ''
# Patched meson does not add internal libraries to rpath
for f in bin/.epiphany-wrapped libexec/.epiphany-search-provider-wrapped libexec/epiphany/.ephy-profile-migrator-wrapped lib/epiphany/web-extensions/libephywebextension.so; do
patchelf --set-rpath "$out/lib/epiphany:$(patchelf --print-rpath $out/$f)" "$out/$f"
for f in $out/bin/.*-wrapped $out/libexec/.*-wrapped $out/libexec/epiphany/.*-wrapped $out/lib/epiphany/*.so $out/lib/epiphany/web-extensions/*.so; do
patchelf --set-rpath "$out/lib/epiphany:$(patchelf --print-rpath $f)" "$f"
done
'';