Commit 197836af authored by Rick van Schijndel's avatar Rick van Schijndel
Browse files

zlib-ng: fix cross-compilation

gtest is compiled as a library, so it's compiled for the host system instead of the build system
parent 4333f887
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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=/"