From 0dff5268de2e072d162ad492304e15d079d2d4f8 Mon Sep 17 00:00:00 2001 From: Richard Diamond Date: Fri, 5 Dec 2014 23:38:15 -0600 Subject: 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. --- openssl-sys/Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'openssl-sys/Cargo.toml') 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" -- cgit v1.2.3