@@ -305,21 +305,21 @@ cfg_if! {
305305 } else if #[ cfg( all( target_os = "linux" ,
306306 any( target_env = "gnu" , target_env = "uclibc" ) ,
307307 feature = "rustc-dep-of-std" ) ) ] {
308- #[ link( name = "util" , kind = "static-nobundle " ,
308+ #[ link( name = "util" , kind = "static" , modifiers = "-bundle ",
309309 cfg( target_feature = "crt-static" ) ) ]
310- #[ link( name = "rt" , kind = "static-nobundle " ,
310+ #[ link( name = "rt" , kind = "static" , modifiers = "-bundle ",
311311 cfg( target_feature = "crt-static" ) ) ]
312- #[ link( name = "pthread" , kind = "static-nobundle " ,
312+ #[ link( name = "pthread" , kind = "static" , modifiers = "-bundle ",
313313 cfg( target_feature = "crt-static" ) ) ]
314- #[ link( name = "m" , kind = "static-nobundle " ,
314+ #[ link( name = "m" , kind = "static" , modifiers = "-bundle ",
315315 cfg( target_feature = "crt-static" ) ) ]
316- #[ link( name = "dl" , kind = "static-nobundle " ,
316+ #[ link( name = "dl" , kind = "static" , modifiers = "-bundle ",
317317 cfg( target_feature = "crt-static" ) ) ]
318- #[ link( name = "c" , kind = "static-nobundle " ,
318+ #[ link( name = "c" , kind = "static" , modifiers = "-bundle ",
319319 cfg( target_feature = "crt-static" ) ) ]
320- #[ link( name = "gcc_eh" , kind = "static-nobundle " ,
320+ #[ link( name = "gcc_eh" , kind = "static" , modifiers = "-bundle ",
321321 cfg( target_feature = "crt-static" ) ) ]
322- #[ link( name = "gcc" , kind = "static-nobundle " ,
322+ #[ link( name = "gcc" , kind = "static" , modifiers = "-bundle ",
323323 cfg( target_feature = "crt-static" ) ) ]
324324 #[ link( name = "util" , cfg( not( target_feature = "crt-static" ) ) ) ]
325325 #[ link( name = "rt" , cfg( not( target_feature = "crt-static" ) ) ) ]
@@ -330,7 +330,7 @@ cfg_if! {
330330 extern { }
331331 } else if #[ cfg( target_env = "musl" ) ] {
332332 #[ cfg_attr( feature = "rustc-dep-of-std" ,
333- link( name = "c" , kind = "static" ,
333+ link( name = "c" , kind = "static" , modifiers = "-bundle" ,
334334 cfg( target_feature = "crt-static" ) ) ) ]
335335 #[ cfg_attr( feature = "rustc-dep-of-std" ,
336336 link( name = "c" , cfg( not( target_feature = "crt-static" ) ) ) ) ]
@@ -372,7 +372,7 @@ cfg_if! {
372372 extern { }
373373 } else if #[ cfg( target_os = "redox" ) ] {
374374 #[ cfg_attr( feature = "rustc-dep-of-std" ,
375- link( name = "c" , kind = "static-nobundle " ,
375+ link( name = "c" , kind = "static" , modifiers = "-bundle ",
376376 cfg( target_feature = "crt-static" ) ) ) ]
377377 #[ cfg_attr( feature = "rustc-dep-of-std" ,
378378 link( name = "c" , cfg( not( target_feature = "crt-static" ) ) ) ) ]
0 commit comments