mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
zlib-ng: fix cross-compilation
gtest is compiled as a library, so it's compiled for the host system instead of the build system
This commit is contained in:
parent
4333f887a6
commit
197836af99
@ -23,7 +23,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" "bin" ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config gtest ];
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
buildInputs = [ gtest ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_INSTALL_PREFIX=/"
|
||||
|
Loading…
Reference in New Issue
Block a user