We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a4101 commit 87b1729Copy full SHA for 87b1729
src/lib.rs
@@ -440,13 +440,13 @@ impl Library {
440
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
449
}
+ let meta = format!("rustc-link-lib=static={}", val);
+ config.print_metadata(&meta);
+ } else {
+ let meta = format!("rustc-link-lib={}", val);
+ }
450
451
452
let mut iter = output.trim_right().split(' ');
0 commit comments