summaryrefslogtreecommitdiffstats
path: root/plugin
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 /plugin
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 'plugin')
-rw-r--r--plugin/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt
index 0b9381d..49e47de 100644
--- a/plugin/CMakeLists.txt
+++ b/plugin/CMakeLists.txt
@@ -96,7 +96,7 @@ ADD_LIBRARY(eurephia-auth MODULE
SET_TARGET_PROPERTIES(eurephia-auth PROPERTIES PREFIX "")
# Link in libraries
-TARGET_LINK_LIBRARIES(eurephia-auth dl pthread rt crypto common)
+TARGET_LINK_LIBRARIES(eurephia-auth pthread rt crypto common)
# Install rules
INSTALL(TARGETS eurephia-auth LIBRARY DESTINATION ${PLUGINDIR})