fix build.rs

we don't want to match musleabihf targets
This commit is contained in:
Jorge Aparicio 2016-09-22 11:56:34 -05:00
parent 384c48ce9b
commit dafe47bc2b
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
use std::env;
fn main() {
if env::var("TARGET").unwrap().ends_with("hf") {
if env::var("TARGET").unwrap().ends_with("gnueabihf") {
println!("cargo:rustc-cfg=gnueabihf")
}
}