File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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 ( ' ' ) ;
You can’t perform that action at this time.
0 commit comments