aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/Cargo.toml
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2014-12-09 02:13:09 -0500
committerSteven Fackler <[email protected]>2014-12-09 02:13:09 -0500
commit43c9a43e2dab93cfa24921b38c0a0fa8bd4e1857 (patch)
treee3e7b28e94bead0313cde3387929df2b662f5b8f /openssl-sys/Cargo.toml
parentSpeed up SslStream initialization a bit (diff)
parentAdd a feature to openssl-sys to cause it to build a local copy of libressl for (diff)
downloadrust-openssl-43c9a43e2dab93cfa24921b38c0a0fa8bd4e1857.tar.xz
rust-openssl-43c9a43e2dab93cfa24921b38c0a0fa8bd4e1857.zip
Merge pull request #108 from DiamondLovesYou/nacl-crosses
Use locally built libreSSL if targeting NaCl instead of the host's versions.
Diffstat (limited to 'openssl-sys/Cargo.toml')
-rw-r--r--openssl-sys/Cargo.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/openssl-sys/Cargo.toml b/openssl-sys/Cargo.toml
index 6753681c..c434be49 100644
--- a/openssl-sys/Cargo.toml
+++ b/openssl-sys/Cargo.toml
@@ -18,3 +18,12 @@ aes_xts = []
[build-dependencies]
pkg-config = "0.1"
+
+[target.le32-unknown-nacl.dependencies]
+libressl-pnacl-sys = "2.1.0"
+[target.x86_64-unknown-nacl.dependencies]
+libressl-pnacl-sys = "2.1.0"
+[target.i686-unknown-nacl.dependencies]
+libressl-pnacl-sys = "2.1.0"
+[target.arm-unknown-nacl.dependencies]
+libressl-pnacl-sys = "2.1.0"