pkgsStatic: make OpenSSL 1.1 compile (#77542)

* pkgsStatic: make OpenSSL 1.1 compile
This commit is contained in:
Antonio Nuno Monteiro
2020-01-16 20:02:38 +01:00
committed by Frederik Rietdijk
parent 1177bce848
commit 4b34c18e31
2 changed files with 9 additions and 9 deletions
@@ -72,7 +72,11 @@ let
"-DHAVE_CRYPTODEV"
"-DUSE_CRYPTODEV_DIGESTS"
] ++ stdenv.lib.optional enableSSL2 "enable-ssl2"
++ stdenv.lib.optional (versionAtLeast version "1.1.0" && stdenv.hostPlatform.isAarch64) "no-afalgeng";
++ stdenv.lib.optional (versionAtLeast version "1.1.0" && stdenv.hostPlatform.isAarch64) "no-afalgeng"
# OpenSSL needs a specific `no-shared` configure flag.
# See https://wiki.openssl.org/index.php/Compilation_and_Installation#Configure_Options
# for a comprehensive list of configuration options.
++ stdenv.lib.optional (versionAtLeast version "1.1.0" && static) "no-shared";
makeFlags = [
"MANDIR=$(man)/share/man"