[Lldb-commits] [lldb] r183109 - Fix link ordering issue on FreeBSD

Daniel Malea daniel.malea at intel.com
Mon Jun 3 08:49:56 PDT 2013


Author: dmalea
Date: Mon Jun  3 10:49:56 2013
New Revision: 183109

URL: http://llvm.org/viewvc/llvm-project?rev=183109&view=rev
Log:
Fix link ordering issue on FreeBSD


Modified:
    lldb/trunk/CMakeLists.txt

Modified: lldb/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=183109&r1=183108&r2=183109&view=diff
==============================================================================
--- lldb/trunk/CMakeLists.txt (original)
+++ lldb/trunk/CMakeLists.txt Mon Jun  3 10:49:56 2013
@@ -175,7 +175,7 @@ macro(add_lldb_library name)
   #endif()
 
   if(LLDB_USED_LIBS)
-    if (CMAKE_SYSTEM_NAME MATCHES "Linux")
+    if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
       target_link_libraries(${name} -Wl,--start-group ${LLDB_USED_LIBS} -Wl,--end-group)
     else()
       target_link_libraries(${name} ${LLDB_USED_LIBS})





More information about the lldb-commits mailing list