ferretro/ferretro_base/build.rs

12 lines
299 B
Rust
Raw Normal View History

2019-11-17 06:34:01 +01:00
fn main() {
cc::Build::new()
.file("src/retro/c_ext/log_wrapper.c")
.compile("log_wrapper");
2021-11-12 01:09:14 +01:00
if cfg!(feature = "static") {
println!("cargo:rustc-link-search=./lib");
println!("cargo:rustc-link-lib=retro");
println!("cargo:rustc-link-lib=m");
}
}