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
commit 4327049a1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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