[PATCH] D61371: Fix win32 link on case-sensitive fs

Julien Schueller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 03:49:49 PDT 2019


jschueller created this revision.
jschueller added reviewers: chandlerc, RKSimon.
jschueller added a project: LLVM.
Herald added subscribers: llvm-commits, mstorsjo, lebedev.ri, christof, mgorny.
Herald added a reviewer: lebedev.ri.

This fixes cross-builds with MinGW from case-sensitive file-systems (on Linux)


Repository:
  rL LLVM

https://reviews.llvm.org/D61371

Files:
  libcxx/utils/google-benchmark/src/CMakeLists.txt
  llvm/utils/benchmark/src/CMakeLists.txt


Index: llvm/utils/benchmark/src/CMakeLists.txt
===================================================================
--- llvm/utils/benchmark/src/CMakeLists.txt
+++ llvm/utils/benchmark/src/CMakeLists.txt
@@ -36,7 +36,7 @@
 
 # We need extra libraries on Windows
 if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
-  target_link_libraries(benchmark Shlwapi)
+  target_link_libraries(benchmark shlwapi)
 endif()
 
 # We need extra libraries on Solaris
Index: libcxx/utils/google-benchmark/src/CMakeLists.txt
===================================================================
--- libcxx/utils/google-benchmark/src/CMakeLists.txt
+++ libcxx/utils/google-benchmark/src/CMakeLists.txt
@@ -35,7 +35,7 @@
 
 # We need extra libraries on Windows
 if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
-  target_link_libraries(benchmark Shlwapi)
+  target_link_libraries(benchmark shlwapi)
 endif()
 
 # We need extra libraries on Solaris


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61371.197526.patch
Type: text/x-patch
Size: 911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190501/c1eb118d/attachment.bin>


More information about the llvm-commits mailing list