mirror of
https://github.com/google/brotli.git
synced 2024-11-21 19:20:09 +00:00
Fix MSVC linker error (#840)
The -lm linker option is not known to MSVC and setting it triggers errors in some build systems: [6,366 / 6,367] Linking source/exe/envoy-static.exe; 11s remote LINK : warning LNK4044: unrecognized option '/lm'; ignored LINK : error LNK1218: warning treated as error; no output file generated ERROR: C:/source/source/exe/BUILD:22:16: Linking of rule '//source/exe:envoy-static' failed (Exit 4044): link.exe failed: error executing command Do not set -lm in case of MSVC.
This commit is contained in:
parent
90fd2b60cc
commit
0cd2e3926e
Loading…
Reference in New Issue
Block a user