diff options
author | Matthew Bauer <matthew.bauer@obsidian.systems> | 2018-07-20 21:49:53 -0400 |
---|---|---|
committer | Matthew Bauer <matthew.bauer@obsidian.systems> | 2018-07-21 17:00:05 -0400 |
commit | 522b61a069b1a856df23c558f780216b38aa5ed9 (patch) | |
tree | 3b666d436cb7fc0d43e8ea2c4fbbc0b3eee1d9ae | |
parent | 3530c39b97ac4b587279933c404b64b7d69014f9 (diff) | |
download | nixlib-522b61a069b1a856df23c558f780216b38aa5ed9.tar nixlib-522b61a069b1a856df23c558f780216b38aa5ed9.tar.gz nixlib-522b61a069b1a856df23c558f780216b38aa5ed9.tar.bz2 nixlib-522b61a069b1a856df23c558f780216b38aa5ed9.tar.lz nixlib-522b61a069b1a856df23c558f780216b38aa5ed9.tar.xz nixlib-522b61a069b1a856df23c558f780216b38aa5ed9.tar.zst nixlib-522b61a069b1a856df23c558f780216b38aa5ed9.zip |
openssl: work with mingw32
-rw-r--r-- | pkgs/development/libraries/openssl/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 0251de77d03e..47467ce4edec 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -45,7 +45,9 @@ let if hostPlatform == buildPlatform then "./config" else if hostPlatform.isMinGW - then "./Configure mingw${toString hostPlatform.parsed.cpu.bits}" + then "./Configure mingw${optionalString + (hostPlatform.parsed.cpu.bits != 32) + (toString hostPlatform.parsed.cpu.bits)}" else if hostPlatform.isLinux then "./Configure linux-generic${toString hostPlatform.parsed.cpu.bits}" else if hostPlatform.isiOS |