From be434329d17f9f154140635ae786d20b83d6a4d2 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Thu, 26 Jan 2023 15:45:41 +0100 Subject: [PATCH] Removed `dl` dependency --- CMakeLists.txt | 4 ++-- external/src/libuv | 2 +- tests/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 642d1af..8a9547f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,7 +124,7 @@ if (WIN32) elseif (CMAKE_SYSTEM_NAME STREQUAL FreeBSD) set(LIBS ${LIBS} pthread) elseif (NOT APPLE) - set(LIBS ${LIBS} pthread dl) + set(LIBS ${LIBS} pthread) endif() if (CMAKE_CXX_COMPILER_ID MATCHES MSVC) @@ -226,7 +226,7 @@ if (STATIC_BINARY OR STATIC_LIBS) find_library(SYSTEM_CONFIGURATION_LIB SystemConfiguration) set(STATIC_LIBS ${STATIC_LIBS} ${FOUNDATION_LIB} ${CORE_FOUNDATION_LIB} ${SYSTEM_CONFIGURATION_LIB}) else() - set(STATIC_LIBS ${STATIC_LIBS} pthread dl) + set(STATIC_LIBS ${STATIC_LIBS} pthread) endif() target_link_libraries(${CMAKE_PROJECT_NAME} diff --git a/external/src/libuv b/external/src/libuv index 0c1fa69..55077af 160000 --- a/external/src/libuv +++ b/external/src/libuv @@ -1 +1 @@ -Subproject commit 0c1fa696aa502eb749c2c4735005f41ba00a27b8 +Subproject commit 55077af4b50e13c5b7c02131ff16695685478fc8 diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 46ffdfe..4de18e2 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -96,7 +96,7 @@ if (WIN32) endif() add_definitions(-DCURL_STATICLIB) elseif (NOT APPLE) - set(LIBS ${LIBS} pthread dl) + set(LIBS ${LIBS} pthread) endif() if (STATIC_LIBS)