mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
13 lines
305 B
Rust
13 lines
305 B
Rust
fn main() {
|
|
#[cfg(target_os = "freebsd")]
|
|
{
|
|
println!("cargo::rerun-if-changed=src/freebsd_nss.c");
|
|
|
|
cc::Build::new()
|
|
.file("src/freebsd_nss.c")
|
|
.static_flag(true)
|
|
.link_lib_modifier("+whole-archive")
|
|
.compile("freebsd_nss");
|
|
}
|
|
}
|