diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-27 13:12:50 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-27 20:14:48 +0900 |
| commit | 9bd69e36df9978949a50c775c9855c6f7bed8f7c (patch) | |
| tree | 04624f99561c68383359f2709538c932a5a19e32 /ConfigureChecks.cmake | |
| parent | 0fe16128497a13e344932b3f507989261f308635 (diff) | |
| download | tdebase-9bd69e36.tar.gz tdebase-9bd69e36.zip | |
Replace pthread and dl linking with cmake-based variables
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3df12e580bf4a71991a80424b5375157f6bce3db)
Diffstat (limited to 'ConfigureChecks.cmake')
| -rw-r--r-- | ConfigureChecks.cmake | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 1bed63101..8c8d102d4 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -50,19 +50,6 @@ if( WITH_USBIDS ) endif( WITH_USBIDS ) -##### 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 ) - - # stdint.h (drkonqi) if( BUILD_DRKONQI ) check_include_file( stdint.h HAVE_STDINT_H ) @@ -117,7 +104,7 @@ if( BUILD_KCHECKPASS OR BUILD_TDM ) check_include_file( "security/pam_appl.h" SECURITY_PAM_APPL_H ) endif( ) if( HAVE_PAM AND SECURITY_PAM_APPL_H ) - set( PAM_LIBRARY pam ${DL_LIBRARIES} ) + set( PAM_LIBRARY pam ${CMAKE_DL_LIBS} ) else( ) tde_message_fatal( "pam are requested, but not found on your system" ) endif( ) |
