summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Orivel <eijebong@bananium.fr>2018-03-28 12:08:10 +0200
committerBastien Orivel <eijebong@bananium.fr>2018-03-28 12:08:10 +0200
commitf3ab5f6baed2174f25ee0a9527a4b32a6e458401 (patch)
tree1e60270a06b91b4b3d096d30c6b3e5da1cf71321
parent868fd3ca29d1b3a4e7947568c3d4a9d936b3e1e5 (diff)
downloadnix-f3ab5f6baed2174f25ee0a9527a4b32a6e458401.zip
Replace the gcc crate by cc
-rw-r--r--Cargo.toml2
-rw-r--r--build.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 651c2184..8b1c90e7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,7 +23,7 @@ version = "0.4.5"
default-features = false
[target.'cfg(target_os = "dragonfly")'.build-dependencies]
-gcc = "0.3"
+cc = "1"
[dev-dependencies]
lazy_static = "1"
diff --git a/build.rs b/build.rs
index d6a9a503..92fd3667 100644
--- a/build.rs
+++ b/build.rs
@@ -1,9 +1,9 @@
#[cfg(target_os = "dragonfly")]
-extern crate gcc;
+extern crate cc;
#[cfg(target_os = "dragonfly")]
fn main() {
- gcc::Build::new()
+ cc::Build::new()
.file("src/errno_dragonfly.c")
.compile("liberrno_dragonfly.a");
}