Skip to content

Commit

Permalink
disable resolv on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jul 4, 2024
1 parent 89ff434 commit 9d4a3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/re-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
else()
check_symbol_exists(res_ninit resolv.h HAVE_RESOLV)
endif()
if(HAVE_RESOLV)
if(HAVE_RESOLV AND ${CMAKE_SYSTEM_NAME} NOT MATCHES "FreeBSD")
set(RESOLV_LIBRARY resolv)
list(APPEND RE_DEFINITIONS HAVE_RESOLV)
else()
Expand Down

0 comments on commit 9d4a3c8

Please sign in to comment.