Skip to content

Commit

Permalink
Fixed idents
Browse files Browse the repository at this point in the history
  • Loading branch information
golddranks committed Mar 1, 2017
1 parent e5a4101 commit cd7c3b1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,15 +438,15 @@ impl Library {
for val in &self.libs {
if statik {
if is_system(val, &dirs) {
panic!("The library \"{}\" is a system library, \
which means it can't be linked statically!", val);
}
let meta = format!("rustc-link-lib=static={}", val);
config.print_metadata(&meta);
} else {
let meta = format!("rustc-link-lib={}", val);
config.print_metadata(&meta);
panic!("The library \"{}\" is a system library, \
which means it can't be linked statically!", val);
}
let meta = format!("rustc-link-lib=static={}", val);
config.print_metadata(&meta);
} else {
let meta = format!("rustc-link-lib={}", val);
config.print_metadata(&meta);
}
}

let mut iter = output.trim_right().split(' ');
Expand Down

0 comments on commit cd7c3b1

Please sign in to comment.