Ghostscript: Fix darwin build
svn path=/nixpkgs/trunk/; revision=33160
This commit is contained in:
parent
b2f0319bc2
commit
5f6bb1fce6
@ -79,7 +79,8 @@ stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optional cupsSupport cups;
|
++ stdenv.lib.optional cupsSupport cups;
|
||||||
|
|
||||||
CFLAGS = "-fPIC";
|
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 ];
|
patches = variant.patches ++ [ ./urw-font-files.patch ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user