Index: runtime/vm/BUILD.gn |
diff --git a/runtime/vm/BUILD.gn b/runtime/vm/BUILD.gn |
index f1c2da469a22a47e69d45326d966c4d821eae6da..719df4dccaecc0bab37e55d63002dec13f1838b0 100644 |
--- a/runtime/vm/BUILD.gn |
+++ b/runtime/vm/BUILD.gn |
@@ -3,15 +3,15 @@ |
# BSD-style license that can be found in the LICENSE file. |
config("libdart_vm_config") { |
- libs = [ |
- "dl", |
- ] |
+ if (!is_fuchsia) { |
+ libs = [ "dl" ] |
- if (!is_android) { |
- libs += [ "pthread" ] |
+ if (!is_android) { |
+ libs += [ "pthread" ] |
- if (is_linux) { |
- libs += [ "rt" ] |
+ if (is_linux) { |
+ libs += [ "rt" ] |
+ } |
} |
} |
} |