Commit 10e8a8f8 authored by Richard Diamond's avatar Richard Diamond
Browse files

Now that pkg-config 0.1.1 has been published, delegate to bailout detection to pkg-config.

Also bump version minors for publishing. :)
parent 0dff5268
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
[package]
name = "openssl"
version = "0.2.2"
version = "0.2.3"
authors = ["Steven Fackler <sfackler@gmail.com>"]
license = "Apache-2.0"
description = "OpenSSL bindings"
+2 −2
Original line number Diff line number Diff line
[package]
name = "openssl-sys"
version = "0.2.2"
version = "0.2.3"
authors = ["Alex Crichton <alex@alexcrichton.com>",
           "Steven Fackler <sfackler@gmail.com>"]
license = "MIT"
@@ -17,7 +17,7 @@ sslv2 = []
aes_xts = []

[build-dependencies]
pkg-config = "0.1"
pkg-config = "0.1.1"

[target.le32-unknown-nacl.dependencies]
libressl-pnacl-sys = "2.1.0"
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ use std::os;
fn main() {
    // Without hackory, pkg-config will only look for host libraries.
    // So, abandon ship if we're cross compiling.
    if os::getenv("HOST") != os::getenv("TARGET") { return; }
    if !pkg_config::target_supported() { return; }


    if pkg_config::find_library("openssl").is_err() {