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:
parent
58f7f6e913
commit
9adeabc793
@ -384,7 +384,7 @@ let inherit (builtins) head tail trace; in
|
|||||||
echo '${toString (attrByPath ["propagatedBuildInputs"] [] args)}' >\$out/nix-support/propagated-build-inputs
|
echo '${toString (attrByPath ["propagatedBuildInputs"] [] args)}' >\$out/nix-support/propagated-build-inputs
|
||||||
") ["minInit" "defEnsureDir"];
|
") ["minInit" "defEnsureDir"];
|
||||||
|
|
||||||
cmakeFlags = "";
|
cmakeFlags = "-DCMAKE_SKIP_BUILD_RPATH=ON";
|
||||||
|
|
||||||
doCmake = fullDepEntry (''
|
doCmake = fullDepEntry (''
|
||||||
mkdir build
|
mkdir build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user