mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
proot: fix static build
This commit is contained in:
parent
7bf6e249eb
commit
b7b2019e62
1 changed files with 2 additions and 2 deletions
|
@ -12,13 +12,13 @@ stdenv.mkDerivation rec {
|
|||
owner = "cedric-vincent";
|
||||
};
|
||||
|
||||
buildInputs = [ talloc ];
|
||||
buildInputs = [ talloc ] ++ stdenv.lib.optional enableStatic stdenv.cc.libc.static;
|
||||
nativeBuildInputs = [ docutils ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preBuild = stdenv.lib.optionalString enableStatic ''
|
||||
export LDFLAGS="-static -L${talloc}/lib"
|
||||
export LDFLAGS="-static"
|
||||
'';
|
||||
|
||||
makeFlags = [ "-C src" ];
|
||||
|
|
Loading…
Reference in a new issue