summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");
}