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" ];
|
outputs = [ "out" "dev" "bin" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config gtest ];
|
strictDeps = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
|
buildInputs = [ gtest ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_INSTALL_PREFIX=/"
|
"-DCMAKE_INSTALL_PREFIX=/"
|
||||||
|
|
Loading…
Reference in a new issue