ghostscript: change dynamic library path, fixes #11165

This commit is contained in:
Sven Keidel 2016-01-05 16:04:33 +01:00
parent 94e6323de0
commit dfc8217aa0

View File

@ -93,6 +93,10 @@ stdenv.mkDerivation rec {
ln -s "${fonts}" "$out/share/ghostscript/fonts"
'';
preFixup = stdenv.lib.strings.optionalString stdenv.isDarwin ''
install_name_tool -change libgs.dylib.${version} $out/lib/libgs.dylib.${version} $out/bin/gs
'';
meta = {
homepage = "http://www.ghostscript.com/";
description = "PostScript interpreter (mainline version)";