summaryrefslogtreecommitdiff
path: root/build.rs
blob: 92fd3667fa5b1a9be2c9621aa5c06a40aa3c7021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(target_os = "dragonfly")]
extern crate cc;

#[cfg(target_os = "dragonfly")]
fn main() {
    cc::Build::new()
        .file("src/errno_dragonfly.c")
        .compile("liberrno_dragonfly.a");
}

#[cfg(not(target_os = "dragonfly"))]
fn main() {}