mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 04:27:02 +01:00
10 lines
419 B
Rust
10 lines
419 B
Rust
fn main() {
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
// ignore errors here since older versions of pam do not ship the pkg-config `pam.pc` file.
|
|
// Not setting anything here will fall back on just blindly linking with `-lpam`,
|
|
// which will work on environments with libpam.so, but no pkg-config file.
|
|
let _ = pkg_config::Config::new()
|
|
.atleast_version("1.3.0")
|
|
.probe("pam");
|
|
}
|