update gcc 0.3 to cc 1.0

This commit is contained in:
Andrew Poelstra 2018-07-30 02:53:20 +00:00
parent f6526c5014
commit 6f27422c4c
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ readme = "README.md"
build = "build.rs" build = "build.rs"
[build-dependencies] [build-dependencies]
gcc = "0.3" cc = "1.0"
[lib] [lib]
name = "secp256k1" name = "secp256k1"

View File

@ -21,10 +21,10 @@
#![deny(unused_mut)] #![deny(unused_mut)]
#![warn(missing_docs)] #![warn(missing_docs)]
extern crate gcc; extern crate cc;
fn main() { fn main() {
let mut base_config = gcc::Build::new(); let mut base_config = cc::Build::new();
base_config.include("depend/secp256k1/") base_config.include("depend/secp256k1/")
.include("depend/secp256k1/include") .include("depend/secp256k1/include")
.include("depend/secp256k1/src") .include("depend/secp256k1/src")