summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2010-10-14 15:54:41 +0000
committerOscar Fuentes <ofv@wanadoo.es>2010-10-14 15:54:41 +0000
commitffe32e11375225da69daa7875d95ae62a08544db (patch)
tree5955343c47e44d58842d7f80853d55747a1a366f /llvm/lib/System
parent73d40231147779b95d5e11c621bde26d10aba85e (diff)
downloadbcm5719-llvm-ffe32e11375225da69daa7875d95ae62a08544db.tar.gz
bcm5719-llvm-ffe32e11375225da69daa7875d95ae62a08544db.zip
When building shared libraries, link to required system libraries.
PR 8375 llvm-svn: 116479
Diffstat (limited to 'llvm/lib/System')
-rw-r--r--llvm/lib/System/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/System/CMakeLists.txt b/llvm/lib/System/CMakeLists.txt
index b43c3afa524..5c15f8e9eba 100644
--- a/llvm/lib/System/CMakeLists.txt
+++ b/llvm/lib/System/CMakeLists.txt
@@ -42,7 +42,3 @@ add_llvm_library(LLVMSystem
Win32/ThreadLocal.inc
Win32/TimeValue.inc
)
-
-if( BUILD_SHARED_LIBS AND NOT WIN32 )
- target_link_libraries(LLVMSystem ${CMAKE_DL_LIBS})
-endif()
OpenPOWER on IntegriCloud