mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
appstream-glib: more RPATH fixes #29326
Fix in 6a17c5a46c
wasn't enough.
This commit is contained in:
parent
349a09228e
commit
efeef044be
@ -28,7 +28,11 @@ in stdenv.mkDerivation rec {
|
||||
propagatedBuildInputs = [ gtk3 ];
|
||||
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ];
|
||||
|
||||
postFixup = "patchelf --set-rpath ${rpath} $out/lib/libappstream-glib.so";
|
||||
postFixup = ''
|
||||
for elf in "$out"/bin/* "$out"/lib/*.so; do
|
||||
patchelf --set-rpath '${rpath}':"$out/lib" "$elf"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Objects and helper methods to read and write AppStream metadata";
|
||||
|
Loading…
Reference in New Issue
Block a user