[sanitizers] Fix building on case sensitive mingw platforms
authorMartin Storsjö <martin@martin.st>
Sat, 17 Jul 2021 06:31:54 +0000 (09:31 +0300)
committerMartin Storsjö <martin@martin.st>
Sat, 17 Jul 2021 06:34:16 +0000 (09:34 +0300)
Make synchronization.lib all lowercase name for mingw, where casing matters.

This fixes building after 6d160abd7eba73031a2af500981f8ef44bd75ee4.

compiler-rt/lib/sanitizer_common/sanitizer_win.cpp

index dda3b0e..dddd885 100644 (file)
@@ -45,7 +45,7 @@ TRACELOGGING_DEFINE_PROVIDER(g_asan_provider, "AddressSanitizerLoggingProvider",
 #endif
 
 // For WaitOnAddress
-#  pragma comment(lib, "Synchronization.lib")
+#  pragma comment(lib, "synchronization.lib")
 
 // A macro to tell the compiler that this part of the code cannot be reached,
 // if the compiler supports this feature. Since we're using this in