* gcc.gcc may be null.

svn path=/nixpkgs/trunk/; revision=14023
This commit is contained in:
Eelco Dolstra 2009-02-10 16:09:43 +00:00
parent 0cf9849afd
commit 3989a4ed4a

View File

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