[llvm] r251201 - Add libuuid to required system libraries list for mingw.

Yaron Keren via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 24 12:27:29 PDT 2015


Author: yrnkrn
Date: Sat Oct 24 14:27:28 2015
New Revision: 251201

URL: http://llvm.org/viewvc/llvm-project?rev=251201&view=rev
Log:
Add libuuid to required system libraries list for mingw.
This list is produced by llvm-config --system-libs to be used
by external programs using the llvm libraries, such as creduce.
In r250501 llvm/Support/Windows/Path.inc started to use the constant
FOLDERID_Profile from libuuid.


Modified:
    llvm/trunk/lib/Support/CMakeLists.txt

Modified: llvm/trunk/lib/Support/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CMakeLists.txt?rev=251201&r1=251200&r2=251201&view=diff
==============================================================================
--- llvm/trunk/lib/Support/CMakeLists.txt (original)
+++ llvm/trunk/lib/Support/CMakeLists.txt Sat Oct 24 14:27:28 2015
@@ -1,7 +1,8 @@
 set(system_libs)
 if( NOT MSVC )
   if( MINGW )
-    set(system_libs ${system_libs} psapi shell32 ole32)
+    # libuuid required for FOLDERID_Profile usage in lib/Support/Windows/Path.inc.
+    set(system_libs ${system_libs} psapi shell32 ole32 uuid)
   elseif( CMAKE_HOST_UNIX )
     if( HAVE_LIBRT )
       set(system_libs ${system_libs} rt)




More information about the llvm-commits mailing list