openssl: add BSD support
This commit is contained in:
parent
71326310d8
commit
29058f9a43
1 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,12 @@ let
|
||||||
}.${stdenv.hostPlatform.system} or (
|
}.${stdenv.hostPlatform.system} or (
|
||||||
if stdenv.hostPlatform == stdenv.buildPlatform
|
if stdenv.hostPlatform == stdenv.buildPlatform
|
||||||
then "./config"
|
then "./config"
|
||||||
|
else if stdenv.hostPlatform.isBSD && stdenv.hostPlatform.isx86_64
|
||||||
|
then "./Configure BSD-x86_64"
|
||||||
|
else if stdenv.hostPlatform.isBSD && stdenv.hostPlatform.isx86_32
|
||||||
|
then "./Configure BSD-x86" + lib.optionalString (stdenv.hostPlatform.parsed.kernel.execFormat.name == "elf") "-elf"
|
||||||
|
else if stdenv.hostPlatform.isBSD
|
||||||
|
then "./Configure BSD-generic${toString stdenv.hostPlatform.parsed.cpu.bits}"
|
||||||
else if stdenv.hostPlatform.isMinGW
|
else if stdenv.hostPlatform.isMinGW
|
||||||
then "./Configure mingw${optionalString
|
then "./Configure mingw${optionalString
|
||||||
(stdenv.hostPlatform.parsed.cpu.bits != 32)
|
(stdenv.hostPlatform.parsed.cpu.bits != 32)
|
||||||
|
|
Loading…
Reference in a new issue