openssl: Fix openssl build for musl

This commit is contained in:
Hamish Mackenzie
2020-03-16 15:59:06 +13:00
parent aa87f39bc9
commit 6040c11041

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