add search path

This commit is contained in:
Michael Zhang 2018-09-09 22:40:08 -05:00
parent f81718f4ac
commit 9f3e311267
No known key found for this signature in database
GPG key ID: A1B65B603268116B
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View file

@ -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)",

View file

@ -1,6 +1,6 @@
[package]
name = "screenshot"
version = "0.2.2"
version = "0.2.3"
authors = ["Michael Zhang <failed.down@gmail.com>"]
build = "src/build.rs"

View file

@ -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");
}