Bug 1391127 Add -lm for brotli when compiling with gcc for Windows
MozReview-Commit-ID: HBficJlFKSH
old mode 100644
new mode 100755
--- a/modules/brotli/moz.build
+++ b/modules/brotli/moz.build
@@ -49,12 +49,12 @@ HOST_SOURCES += [
'enc/literal_cost.c',
'enc/memory.c',
'enc/metablock.c',
'enc/static_dict.c',
'enc/utf8_util.c',
'tools/bro.c',
]
-if CONFIG['OS_TARGET'] != 'WINNT':
+if CONFIG['HOST_CC_TYPE'] not in ('msvc', 'clang-cl'):
HOST_OS_LIBS += [
'm' # for log2() function used by Brotli encoder
]