openfortivpn: fix cross builds
Co-authored-by: Michael Jenny <michael.jenny@projekt-und-partner.de>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user