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 /pkgs | |
parent | 3530c39b97ac4b587279933c404b64b7d69014f9 (diff) | |
download | nixpkgs-522b61a069b1a856df23c558f780216b38aa5ed9.tar nixpkgs-522b61a069b1a856df23c558f780216b38aa5ed9.tar.gz nixpkgs-522b61a069b1a856df23c558f780216b38aa5ed9.tar.bz2 nixpkgs-522b61a069b1a856df23c558f780216b38aa5ed9.tar.lz nixpkgs-522b61a069b1a856df23c558f780216b38aa5ed9.tar.xz nixpkgs-522b61a069b1a856df23c558f780216b38aa5ed9.tar.zst nixpkgs-522b61a069b1a856df23c558f780216b38aa5ed9.zip |
openssl: work with mingw32
Diffstat (limited to 'pkgs')
-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 0251de77d03..47467ce4ede 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 |