1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 03:33:12 +02:00

core: check if res_init requires linking with libresolv

This commit is contained in:
Albert Lee
2025-05-16 01:51:38 +00:00
committed by Sébastien Helleu
parent 69d3787b5e
commit e98a32373e
2 changed files with 11 additions and 5 deletions
-5
View File
@@ -53,11 +53,6 @@ if(ENABLE_ZSTD)
list(APPEND EXTRA_LIBS ${LIBZSTD_LDFLAGS})
endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# link with resolv lib on macOS
list(APPEND EXTRA_LIBS "resolv")
endif()
if(ENABLE_NCURSES)
subdirs(normal)
endif()