commit
82489e4762
|
@ -11,7 +11,7 @@ repository = "https://github.com/tomaka/rust-hl-lua"
|
|||
|
||||
[build-dependencies]
|
||||
pkg-config = "0.3"
|
||||
gcc = "0.3"
|
||||
cc = "1.0"
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
extern crate pkg_config;
|
||||
extern crate gcc;
|
||||
extern crate cc;
|
||||
|
||||
use std::env;
|
||||
|
||||
|
@ -9,7 +9,7 @@ fn main() {
|
|||
Err(..) => {}
|
||||
};
|
||||
|
||||
let mut build = gcc::Build::new();
|
||||
let mut build = cc::Build::new();
|
||||
|
||||
if env::var("CARGO_CFG_TARGET_OS") == Ok("linux".to_string()) {
|
||||
// Enable `io.popen` support
|
||||
|
|
Loading…
Reference in New Issue