Index: runtime/bin/BUILD.gn |
diff --git a/runtime/bin/BUILD.gn b/runtime/bin/BUILD.gn |
index 549807b8ff385da0cd227808c59288c9b9740ad6..b2d1db014abd4f1af768043935c441631e8131c3 100644 |
--- a/runtime/bin/BUILD.gn |
+++ b/runtime/bin/BUILD.gn |
@@ -374,9 +374,14 @@ source_set("embedded_dart_io") { |
if (is_mac || is_ios) { |
libs = [ |
"CoreFoundation.framework", |
- "CoreServices.framework", |
"Security.framework", |
] |
+ |
+ if (is_mac) { |
+ libs += [ |
+ "CoreServices.framework", |
+ ] |
+ } |
} else if (defined(is_fuchsia) && is_fuchsia) { |
defines += [ |
"DART_IO_SECURE_SOCKET_DISABLED" |