File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -352,16 +352,12 @@ cfg_if::cfg_if! {
352352 extern "C" { }
353353 } else if #[ cfg( target_os = "macos" ) ] {
354354 #[ link( name = "System" ) ]
355- // res_init and friends require -lresolv on macOS/iOS.
356- // See #41582 and https://blog.achernya.com/2013/03/os-x-has-silly-libsystem.html
357- #[ link( name = "resolv" ) ]
358355 extern "C" { }
359356 } else if #[ cfg( any( target_os = "ios" , target_os = "watchos" ) ) ] {
360357 #[ link( name = "System" ) ]
361358 #[ link( name = "objc" ) ]
362359 #[ link( name = "Security" , kind = "framework" ) ]
363360 #[ link( name = "Foundation" , kind = "framework" ) ]
364- #[ link( name = "resolv" ) ]
365361 extern "C" { }
366362 } else if #[ cfg( target_os = "fuchsia" ) ] {
367363 #[ link( name = "zircon" ) ]
You can’t perform that action at this time.
0 commit comments