Making builder-defs doCMake build well the shared libraries and binaries (rpath related).

I simply made it do what the cmake setup-hook already said to do.

svn path=/nixpkgs/trunk/; revision=26617
This commit is contained in:
Lluís Batlle i Rossell 2011-03-30 22:08:29 +00:00
parent 58f7f6e913
commit 9adeabc793

View File

@ -384,7 +384,7 @@ let inherit (builtins) head tail trace; in
echo '${toString (attrByPath ["propagatedBuildInputs"] [] args)}' >\$out/nix-support/propagated-build-inputs
") ["minInit" "defEnsureDir"];
cmakeFlags = "";
cmakeFlags = "-DCMAKE_SKIP_BUILD_RPATH=ON";
doCmake = fullDepEntry (''
mkdir build