@@ -305,21 +305,21 @@ cfg_if! {
305
305
} else if #[ cfg( all( target_os = "linux" ,
306
306
any( target_env = "gnu" , target_env = "uclibc" ) ,
307
307
feature = "rustc-dep-of-std" ) ) ] {
308
- #[ link( name = "util" , kind = "static-nobundle " ,
308
+ #[ link( name = "util" , kind = "static" , modifiers = "-bundle ",
309
309
cfg( target_feature = "crt-static" ) ) ]
310
- #[ link( name = "rt" , kind = "static-nobundle " ,
310
+ #[ link( name = "rt" , kind = "static" , modifiers = "-bundle ",
311
311
cfg( target_feature = "crt-static" ) ) ]
312
- #[ link( name = "pthread" , kind = "static-nobundle " ,
312
+ #[ link( name = "pthread" , kind = "static" , modifiers = "-bundle ",
313
313
cfg( target_feature = "crt-static" ) ) ]
314
- #[ link( name = "m" , kind = "static-nobundle " ,
314
+ #[ link( name = "m" , kind = "static" , modifiers = "-bundle ",
315
315
cfg( target_feature = "crt-static" ) ) ]
316
- #[ link( name = "dl" , kind = "static-nobundle " ,
316
+ #[ link( name = "dl" , kind = "static" , modifiers = "-bundle ",
317
317
cfg( target_feature = "crt-static" ) ) ]
318
- #[ link( name = "c" , kind = "static-nobundle " ,
318
+ #[ link( name = "c" , kind = "static" , modifiers = "-bundle ",
319
319
cfg( target_feature = "crt-static" ) ) ]
320
- #[ link( name = "gcc_eh" , kind = "static-nobundle " ,
320
+ #[ link( name = "gcc_eh" , kind = "static" , modifiers = "-bundle ",
321
321
cfg( target_feature = "crt-static" ) ) ]
322
- #[ link( name = "gcc" , kind = "static-nobundle " ,
322
+ #[ link( name = "gcc" , kind = "static" , modifiers = "-bundle ",
323
323
cfg( target_feature = "crt-static" ) ) ]
324
324
#[ link( name = "util" , cfg( not( target_feature = "crt-static" ) ) ) ]
325
325
#[ link( name = "rt" , cfg( not( target_feature = "crt-static" ) ) ) ]
@@ -330,7 +330,7 @@ cfg_if! {
330
330
extern { }
331
331
} else if #[ cfg( target_env = "musl" ) ] {
332
332
#[ cfg_attr( feature = "rustc-dep-of-std" ,
333
- link( name = "c" , kind = "static" ,
333
+ link( name = "c" , kind = "static" , modifiers = "-bundle" ,
334
334
cfg( target_feature = "crt-static" ) ) ) ]
335
335
#[ cfg_attr( feature = "rustc-dep-of-std" ,
336
336
link( name = "c" , cfg( not( target_feature = "crt-static" ) ) ) ) ]
@@ -372,7 +372,7 @@ cfg_if! {
372
372
extern { }
373
373
} else if #[ cfg( target_os = "redox" ) ] {
374
374
#[ cfg_attr( feature = "rustc-dep-of-std" ,
375
- link( name = "c" , kind = "static-nobundle " ,
375
+ link( name = "c" , kind = "static" , modifiers = "-bundle ",
376
376
cfg( target_feature = "crt-static" ) ) ) ]
377
377
#[ cfg_attr( feature = "rustc-dep-of-std" ,
378
378
link( name = "c" , cfg( not( target_feature = "crt-static" ) ) ) ) ]
0 commit comments