Upgrade dependencies.

In libsqlite3-sys, skip printing system libraries. See
https://github.com/sfackler/rust-openssl/issues/554#issuecomment-274878088.
This commit is contained in:
John Gallagher
2017-01-25 18:01:03 -05:00
parent b1ef396ca2
commit 36c5ed2ceb
4 changed files with 17 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ fn main() {
}
Err(_) => {
// See if pkg-config can do everything for us.
if !pkg_config::find_library("sqlite3").is_ok() {
if !pkg_config::Config::new().print_system_libs(false).probe("sqlite3").is_ok() {
// No env var set and pkg-config couldn't help; just output the link-lib
// request and hope that the library exists on the system paths. We used to
// output /usr/lib explicitly, but that can introduce other linking problems; see