mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #12161 from svenkeidel/ghostscript-fix-dynamic-library-path
ghostscript: fix dynamic library path, fixes #11165
This commit is contained in:
commit
d110849d7b
@ -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)";
|
||||
|
Loading…
Reference in New Issue
Block a user