Unverified Commit b8c017f4 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

openfortivpn: fix cross builds (#365328)

parents 25d88c50 647a87e4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -39,7 +39,9 @@ stdenv.mkDerivation rec {
    "--sysconfdir=/etc"
  ]
  ++ lib.optional withSystemd "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
  ++ lib.optional withPpp "--with-pppd=${ppp}/bin/pppd";
  ++ lib.optional withPpp "--with-pppd=${ppp}/bin/pppd"
  # configure: error: cannot check for file existence when cross compiling
  ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "--disable-proc";

  enableParallelBuilding = true;