summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-20 14:23:17 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-20 14:23:17 (GMT)
commitb9947a91d4bd84b28ddd89f7f8a5b57eac010d39 (patch)
tree1e15a3f03a8e158397579621f15da3ef3d9e666a /Modules/Platform/Linux.cmake
parent18d9fad3dfc3c058ab47ccec6e1772abf282a09e (diff)
downloadCMake-b9947a91d4bd84b28ddd89f7f8a5b57eac010d39.zip
CMake-b9947a91d4bd84b28ddd89f7f8a5b57eac010d39.tar.gz
CMake-b9947a91d4bd84b28ddd89f7f8a5b57eac010d39.tar.bz2
ENH: Cleanup link libraries. Remove -l from -ldl
Diffstat (limited to 'Modules/Platform/Linux.cmake')
-rw-r--r--Modules/Platform/Linux.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Linux.cmake b/Modules/Platform/Linux.cmake
index 3053f37..6ae2ed5 100644
--- a/Modules/Platform/Linux.cmake
+++ b/Modules/Platform/Linux.cmake
@@ -1,5 +1,5 @@
# GCC is the default compiler on Linux.
-SET(CMAKE_DL_LIBS "-ldl")
+SET(CMAKE_DL_LIBS "dl")
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic")