Use host instead of target for triple

pull/5/head
Thijs Cadier 9 years ago
parent fdb320b4ea
commit 8d6c348401

@ -56,8 +56,8 @@ fn main() {
command.current_dir(&driver_path); command.current_dir(&driver_path);
// Use env var to override build target if set // Use env var to override build target if set
if let Ok(target) = env::var("MONGO_C_DRIVER_TARGET") { if let Ok(host) = env::var("MONGO_C_DRIVER_HOST") {
command.arg(format!("--target={}", target)); command.arg(format!("--host={}", host));
} }
assert!(command.status().unwrap().success()); assert!(command.status().unwrap().success());

Loading…
Cancel
Save