Skip to content

Commit cd7c3b1

Browse files
committed
Fixed idents
1 parent e5a4101 commit cd7c3b1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/lib.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -438,15 +438,15 @@ impl Library {
438438
for val in &self.libs {
439439
if statik {
440440
if is_system(val, &dirs) {
441-
panic!("The library \"{}\" is a system library, \
442-
which means it can't be linked statically!", val);
443-
}
444-
let meta = format!("rustc-link-lib=static={}", val);
445-
config.print_metadata(&meta);
446-
} else {
447-
let meta = format!("rustc-link-lib={}", val);
448-
config.print_metadata(&meta);
441+
panic!("The library \"{}\" is a system library, \
442+
which means it can't be linked statically!", val);
449443
}
444+
let meta = format!("rustc-link-lib=static={}", val);
445+
config.print_metadata(&meta);
446+
} else {
447+
let meta = format!("rustc-link-lib={}", val);
448+
config.print_metadata(&meta);
449+
}
450450
}
451451

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

0 commit comments

Comments
 (0)