From 5f6bb1fce6783711705459b693b1d7f8f429fe8e Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Fri, 16 Mar 2012 14:27:58 +0000 Subject: [PATCH] Ghostscript: Fix darwin build svn path=/nixpkgs/trunk/; revision=33160 --- pkgs/misc/ghostscript/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/misc/ghostscript/default.nix b/pkgs/misc/ghostscript/default.nix index cc278d6abe57..0a028660f7ff 100644 --- a/pkgs/misc/ghostscript/default.nix +++ b/pkgs/misc/ghostscript/default.nix @@ -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 ]; -- 2.11.4.GIT