aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/Cargo.toml
diff options
context:
space:
mode:
authorRichard Diamond <[email protected]>2014-12-05 23:38:15 -0600
committerRichard Diamond <[email protected]>2014-12-09 00:04:06 -0600
commit0dff5268de2e072d162ad492304e15d079d2d4f8 (patch)
tree3cd8b618a1550d6da5905deb6f834ed21522fb08 /openssl-sys/Cargo.toml
parentRelease v0.2.2 (diff)
downloadrust-openssl-0dff5268de2e072d162ad492304e15d079d2d4f8.tar.xz
rust-openssl-0dff5268de2e072d162ad492304e15d079d2d4f8.zip
Add a feature to openssl-sys to cause it to build a local copy of libressl for
use instead of whatever pkg-config says (which in the case of crosses, is almost certainly incorrect). This is for PNaCl.
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"