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 55d13ff commit a93dae7
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 NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set(RESOLV_LIBRARY resolv)
list(APPEND RE_DEFINITIONS HAVE_RESOLV)
else()
Expand Down

0 comments on commit a93dae7

Please sign in to comment.