[PATCH] D38875: Fix the incorrect detection of ICONV_LIBRARY_PATH

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 23:26:50 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL316064: Fix the incorrect detection of ICONV_LIBRARY_PATH (authored by skatkov).

Changed prior to commit:
  https://reviews.llvm.org/D38875?vs=118886&id=119433#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D38875

Files:
  llvm/trunk/cmake/config-ix.cmake


Index: llvm/trunk/cmake/config-ix.cmake
===================================================================
--- llvm/trunk/cmake/config-ix.cmake
+++ llvm/trunk/cmake/config-ix.cmake
@@ -157,7 +157,7 @@
     set(HAVE_TERMINFO 0)
   endif()
 
-  find_library(ICONV_LIBRARY_PATH NAMES iconv libiconv libiconv-2 c)
+  find_library(ICONV_LIBRARY_PATH NAMES iconv libiconv libiconv-2)
   set(LLVM_LIBXML2_ENABLED 0)
   set(LIBXML2_FOUND 0)
   if((LLVM_ENABLE_LIBXML2) AND ((CMAKE_SYSTEM_NAME MATCHES "Linux") AND (ICONV_LIBRARY_PATH) OR APPLE))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38875.119433.patch
Type: text/x-patch
Size: 539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171018/c16eedd3/attachment.bin>


More information about the llvm-commits mailing list