gdk-pixbuf: patch all darwin binaries

This commit is contained in:
Daiderd Jordan 2018-05-29 08:46:39 +02:00
parent 437b98cf9c
commit 8baaa433b6
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -84,8 +84,9 @@ stdenv.mkDerivation rec {
# The fixDarwinDylibNames hook doesn't patch binaries.
preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -change "@rpath/libgdk_pixbuf-2.0.0.dylib" "$dev/lib/libgdk_pixbuf-2.0.0.dylib" $out/bin/gdk-pixbuf-thumbnailer
install_name_tool -change "@rpath/libgdk_pixbuf-2.0.0.dylib" "$out/lib/libgdk_pixbuf-2.0.0.dylib" $dev/bin/gdk-pixbuf-thumbnailer
for f in $out/bin/* $dev/bin/*; do
install_name_tool -change "@rpath/libgdk_pixbuf-2.0.0.dylib" "$out/lib/libgdk_pixbuf-2.0.0.dylib" $f
done
'';
# The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).