leanshot/slop-sys/build.rs
2018-09-09 23:24:43 -05:00

12 lines
374 B
Rust

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