mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
proot: fix static build
This commit is contained in:
parent
7bf6e249eb
commit
b7b2019e62
@ -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 New Issue
Block a user