From 9f3e311267c02bdf46b87f3c90429c189276e913 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Sun, 9 Sep 2018 22:40:08 -0500 Subject: [PATCH] add search path --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/build.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b732242..c4c5deb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -351,7 +351,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "screenshot" -version = "0.2.1" +version = "0.2.3" dependencies = [ "cairo-rs 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.31.2 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 24d9ada..a324d5a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "screenshot" -version = "0.2.2" +version = "0.2.3" authors = ["Michael Zhang "] build = "src/build.rs" diff --git a/src/build.rs b/src/build.rs index b5ef7d7..43532e6 100644 --- a/src/build.rs +++ b/src/build.rs @@ -1,4 +1,4 @@ fn main() { - println!("cargo:rustc-link-lib=slop"); - println!("cargo:rustc-link-search=native=/usr/lib"); + println!("cargo:rustc-link-lib=slopy"); + println!("cargo:rustc-link-search=native=/usr/lib:/usr/lib/x86_64-linux-gnu"); }