3
0
Fork 0
forked from mirrors/nixpkgs

Revert "gdk-pixbuf: patch library rpath references on darwin"

This reverts commit 6bb08e881d.

See the next commit.
This commit is contained in:
Orivej Desh 2018-06-06 09:48:23 +00:00
parent 14987c6336
commit 06cdd7d83f

View file

@ -82,12 +82,8 @@ stdenv.mkDerivation rec {
$dev/bin/gdk-pixbuf-query-loaders --update-cache
'';
# The fixDarwinDylibNames hook doesn't patch library references or binaries.
# The fixDarwinDylibNames hook doesn't patch binaries.
preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
for f in $(find $out/lib -name '*.dylib'); do
install_name_tool -change @rpath/libgdk_pixbuf-2.0.0.dylib $out/lib/libgdk_pixbuf-2.0.0.dylib $f
done
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