Index: third_party/libexif/BUILD.gn |
diff --git a/third_party/libexif/BUILD.gn b/third_party/libexif/BUILD.gn |
index 657a0da5831f06f1069c1d12000a4d8e920a4864..b2b4feda061ddf0c1324d91eca62aeadccd18df9 100644 |
--- a/third_party/libexif/BUILD.gn |
+++ b/third_party/libexif/BUILD.gn |
@@ -57,6 +57,8 @@ if (!is_linux || is_chromeos) { |
] |
# TODO(GYP): Handle /analyze switch, when it will be used in GN. |
+ } else if (is_linux) { |
+ libs = [ "m" ] |
} |
configs -= [ "//build/config/compiler:chromium_code" ] |