update gcc 0.3 to cc 1.0
This commit is contained in:
parent
f6526c5014
commit
6f27422c4c
|
@ -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"
|
||||||
|
|
4
build.rs
4
build.rs
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue