summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 13:14:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 20:16:18 +0900
commitcced8d413b25722651b28aca9dde7ad2c638176c (patch)
treeafde9ab4c7500685c1f687220dd4192f1f9914c8 /ConfigureChecks.cmake
parent75b09d8869fda16a34f349e391ae0e709d8af8f2 (diff)
downloadtdesdk-cced8d41.tar.gz
tdesdk-cced8d41.zip
Replace dl linking with cmake-based variable
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 42731f11817a86c155d811fde65d70638a210574)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake13
1 files changed, 0 insertions, 13 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index ce929a8b..cb4a87b2 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -28,16 +28,3 @@ find_package( TDE )
if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( )
endif( )
-
-
-##### check for libdl ###########################
-
-set( DL_LIBRARIES dl )
-check_library_exists( ${DL_LIBRARIES} dlopen /lib HAVE_LIBDL )
-if( NOT HAVE_LIBDL )
- unset( DL_LIBRARIES )
- check_function_exists( dlopen HAVE_DLOPEN )
- if( HAVE_DLOPEN )
- set( HAVE_LIBDL 1 )
- endif( HAVE_DLOPEN )
-endif( NOT HAVE_LIBDL )