Merge pull request #82708 from hamishmack/openssl-musl

openssl: Fix openssl build for x86_64-unknown-linux-musl
This commit is contained in:
Matthew Bauer
2020-03-21 23:10:53 -04:00
committed by GitHub

View File

@@ -59,7 +59,9 @@ let
(stdenv.hostPlatform.parsed.cpu.bits != 32)
(toString stdenv.hostPlatform.parsed.cpu.bits)}"
else if stdenv.hostPlatform.isLinux
then "./Configure linux-generic${toString stdenv.hostPlatform.parsed.cpu.bits}"
then (if stdenv.hostPlatform.isx86_64
then "./Configure linux-x86_64"
else "./Configure linux-generic${toString stdenv.hostPlatform.parsed.cpu.bits}")
else if stdenv.hostPlatform.isiOS
then "./Configure ios${toString stdenv.hostPlatform.parsed.cpu.bits}-cross"
else