leanshot/slop-sys/build.rs

13 lines
374 B
Rust
Raw Normal View History

2018-09-10 04:24:43 +00:00
extern crate cmake;
use cmake::Config;
fn main() {
let dst = Config::new("slop").define("CMAKE_SKIP_RPATH", "ON").build();
println!("cargo:rustc-link-search=native={}", dst.display());
println!("cargo:rustc-link-lib=slopy");
// println!("cargo:rustc-link-lib=slopy");
// println!("cargo:rustc-link-search=native=/usr/lib/usr/lib/x86_64-linux-gnu");
}