summaryrefslogtreecommitdiffstats
path: root/eurephiadm
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-12-31 17:59:54 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-12-31 17:59:54 +0100
commit1b333949479e504017c7dffb6d70eecb53adb34a (patch)
treecf2f7c4d3f4be93efeb1baaee89a548ef613eaa4 /eurephiadm
parent0baa693d36f59080ff1c474d339b950cefa13dd5 (diff)
downloadeurephia-1b333949479e504017c7dffb6d70eecb53adb34a.tar.gz
eurephia-1b333949479e504017c7dffb6d70eecb53adb34a.tar.xz
eurephia-1b333949479e504017c7dffb6d70eecb53adb34a.zip
Do not link in libdl explicitly
The functions related to dynamic loading of shared objects are a part of the standard libc library on FreeBSD, while in Linux it is in libdl. However, the linker on Linux seems to add the libdl linking automatically when needed, so no need to explicitly link this library. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'eurephiadm')
-rw-r--r--eurephiadm/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/eurephiadm/CMakeLists.txt b/eurephiadm/CMakeLists.txt
index eb1ad34..8982a50 100644
--- a/eurephiadm/CMakeLists.txt
+++ b/eurephiadm/CMakeLists.txt
@@ -79,7 +79,7 @@ SET(MAN_PAGES
# Link in the following dynamic libraries with eurephiadm.
# ${EXTRA_LIBS} contains libxml2, libxslt and openssl library names
-TARGET_LINK_LIBRARIES(eurephiadm dl crypto common ${EXTRA_LIBS})
+TARGET_LINK_LIBRARIES(eurephiadm crypto common ${EXTRA_LIBS})
# Install rules for eurephiadm
INSTALL(TARGETS eurephiadm RUNTIME DESTINATION ${BINDIR})