summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-01 01:13:44 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-01 01:13:44 -0400
commit0c3efb9ba05828822ba61105aead64ee3d6dd12c (patch)
tree91f296b040231bd0fa0155d685c7769546fa1f75
parentaf55a0c300224fe9debfc4a57d7ee789e00e649d (diff)
openssl: Support iOS cross compilation (in theory)
-rw-r--r--pkgs/development/libraries/openssl/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix
index 5a9052222cb8..1eac225387d2 100644
--- a/pkgs/development/libraries/openssl/default.nix
+++ b/pkgs/development/libraries/openssl/default.nix
@@ -48,6 +48,8 @@ let
then "./Configure mingw${toString hostPlatform.parsed.cpu.bits}"
else if hostPlatform.isLinux
then "./Configure linux-generic${toString hostPlatform.parsed.cpu.bits}"
+ else if hostPlatform.isiOS
+ then "./Configure ios${toString hostPlatform.parsed.cpu.bits}-cross"
else
throw "Not sure what configuration to use for ${hostPlatform.config}"
);