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