File: build.rs

package info (click to toggle)
rust-pidfile-rs 0.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 104 kB
  • sloc: makefile: 2
file content (6 lines) | stat: -rw-r--r-- 173 bytes parent folder | download
1
2
3
4
5
6
fn main() {
    if pkg_config::Config::new().probe("libbsd").is_ok() {
        println!("cargo:rustc-cfg=pidfile");
    }
    println!("cargo:rerun-if-changed=build.rs");
}