]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: fix build for mingw cross compile
authorKai Pastor <dg0yt@darc.de>
Sat, 2 Jul 2022 07:36:09 +0000 (09:36 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Sun, 3 Jul 2022 04:04:57 +0000 (00:04 -0400)
- Change normaliz lib name to all lowercase.

This is from a standing patch in vcpkg:
Mingw has libnormaliz.a. For case-sensitive file systems (e.g. cross
builds from Linux), the spelling must match exactly.

Closes https://github.com/curl/curl/pull/9084

CMakeLists.txt

index ad20777f3d688b9a4a4230fd09f408b1d9b9dcbf..5f93bedf6c95a90ed708cfb9a2b105419d1d7817 100644 (file)
@@ -688,7 +688,7 @@ endif()
 if(WIN32)
   option(USE_WIN32_IDN "Use WinIDN for IDN support" OFF)
   if(USE_WIN32_IDN)
-    list(APPEND CURL_LIBS "Normaliz")
+    list(APPEND CURL_LIBS "normaliz")
     set(WANT_IDN_PROTOTYPES ON)
   endif()
 endif()