2 println!("cargo:rerun-if-changed=build.rs");
3 // ignore errors here since older versions of pam do not ship the pkg-config `pam.pc` file.
4 // Not setting anything here will fall back on just blindly linking with `-lpam`,
5 // which will work on environments with libpam.so, but no pkg-config file.
6 let _ = pkg_config::Config::new()
7 .atleast_version("1.3.0")
9 println!("cargo:rustc-env=LD_LIBRARY_PATH=../../bin/shared:../../bin/shared/private/");