Fix comment about removeRange.
[oota-llvm.git] / lib / System / CMakeLists.txt
index 9ac663e84fe070a06735c57628f4b960bdc364ce..4b9ce5dabf259b08ce78c0399ef411aee86fec82 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_library(LLVMSystem
   Alarm.cpp
   Disassembler.cpp
   DynamicLibrary.cpp
+  Host.cpp
   IncludeFile.cpp
   Memory.cpp
   Mutex.cpp
@@ -11,3 +12,7 @@ add_llvm_library(LLVMSystem
   Signals.cpp
   TimeValue.cpp
   )
+
+if( BUILD_SHARED_LIBS AND NOT WIN32 )
+  target_link_libraries(LLVMSystem dl)
+endif()