Fix linking of the cuneiform

svn path=/nixpkgs/trunk/; revision=22496
This commit is contained in:
Michael Raskin 2010-07-06 12:34:05 +00:00
parent c5bd204477
commit 8213706eb9

View File

@ -29,7 +29,7 @@ rec {
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
postInstall = a.fullDepEntry(''
patchelf --set-rpath $out/lib${if a.stdenv.gcc.gcc != null then ":${a.stdenv.gcc.gcc}/lib" else ""} $out/bin/cuneiform
patchelf --set-rpath $out/lib${if a.stdenv.gcc.gcc != null then ":${a.stdenv.gcc.gcc}/lib" else ""}:${a.imagemagick}/lib $out/bin/cuneiform
'') ["minInit" "addInputs" "doMakeInstall"];
name = "cuneiform-" + version;