diff options
| author | Oscar Fuentes <ofv@wanadoo.es> | 2009-11-19 23:21:43 +0000 |
|---|---|---|
| committer | Oscar Fuentes <ofv@wanadoo.es> | 2009-11-19 23:21:43 +0000 |
| commit | 36dd7d5f5c294fbe55ad59f0537e5f1aba93f46a (patch) | |
| tree | c382141b60d444f6fa5e5ec7bae30c85339a066e /llvm/lib/System | |
| parent | dd1c6198d4866bd4b89b0b5ee464a75a1bb3c189 (diff) | |
| download | bcm5719-llvm-36dd7d5f5c294fbe55ad59f0537e5f1aba93f46a.tar.gz bcm5719-llvm-36dd7d5f5c294fbe55ad59f0537e5f1aba93f46a.zip | |
Use CMAKE_DL_LIBS instead of raw library name. Fixes bug 5536.
Patch by Tobias Grosser!
llvm-svn: 89406
Diffstat (limited to 'llvm/lib/System')
| -rw-r--r-- | llvm/lib/System/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/CMakeLists.txt b/llvm/lib/System/CMakeLists.txt index 2945e33d5b1..a56a1f78bb7 100644 --- a/llvm/lib/System/CMakeLists.txt +++ b/llvm/lib/System/CMakeLists.txt @@ -42,5 +42,5 @@ add_llvm_library(LLVMSystem ) if( BUILD_SHARED_LIBS AND NOT WIN32 ) - target_link_libraries(LLVMSystem dl) + target_link_libraries(LLVMSystem ${CMAKE_DL_LIBS}) endif() |

