mirror of
https://github.com/termux/termux-packages.git
synced 2025-10-23 00:04:45 +00:00
- Fixes https://github.com/termux/termux-packages/issues/26478 - Causes `libresolv-wrapper` to use `dlopen()` instead of `libdl.a`
17 lines
473 B
Diff
17 lines
473 B
Diff
Causes libresolv-wrapper to check for, and use, dlopen() instead of
|
|
libdl, to work around https://github.com/termux/termux-packages/issues/26478
|
|
|
|
-- Looking for dlopen
|
|
-- Looking for dlopen - found
|
|
|
|
--- a/ConfigureChecks.cmake
|
|
+++ b/ConfigureChecks.cmake
|
|
@@ -131,7 +131,6 @@ if (UNIX)
|
|
check_function_exists(getaddrinfo HAVE_GETADDRINFO)
|
|
endif (UNIX)
|
|
|
|
-find_library(DLFCN_LIBRARY dl)
|
|
if (DLFCN_LIBRARY)
|
|
list(APPEND _REQUIRED_LIBRARIES ${DLFCN_LIBRARY})
|
|
else()
|