Ghostscript: Fix darwin build

svn path=/nixpkgs/trunk/; revision=33160
This commit is contained in:
Shea Levy 2012-03-16 14:27:58 +00:00
parent b2f0319bc2
commit 5f6bb1fce6

View file

@ -79,7 +79,8 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional cupsSupport cups;
CFLAGS = "-fPIC";
NIX_LDFLAGS = "-lz -rpath=${freetype}/lib";
NIX_LDFLAGS =
"-lz -rpath${ if stdenv.isDarwin then " " else "="}${freetype}/lib";
patches = variant.patches ++ [ ./urw-font-files.patch ];