diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-03-18 08:55:23 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2020-03-19 16:50:09 +0100 |
commit | c212bf0d976bcb70426a506c3e7d250644598b38 (patch) | |
tree | ba13739506151a414ec774836fda08145959fc44 /ConfigureChecks.cmake | |
parent | 7a9f807302e0ddb1579b5db2c3772bb23f44b04e (diff) | |
download | socket_wrapper-c212bf0d976bcb70426a506c3e7d250644598b38.tar.gz socket_wrapper-c212bf0d976bcb70426a506c3e7d250644598b38.tar.xz socket_wrapper-c212bf0d976bcb70426a506c3e7d250644598b38.zip |
swrap: provide _{socket,close,connect,...} symbols on FreeBSD
Maybe that's not FreeBSD only, but at least this fixes the interaction
of resolv_wrapper and socket_wrapper on FreeBSD 12.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 81aaa1c..4d5adc4 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -70,9 +70,9 @@ check_function_exists(open64 HAVE_OPEN64) check_function_exists(fopen64 HAVE_FOPEN64) check_function_exists(getprogname HAVE_GETPROGNAME) check_function_exists(getexecname HAVE_GETEXECNAME) - check_function_exists(pledge HAVE_PLEDGE) - +check_function_exists(_socket HAVE__SOCKET) +check_function_exists(_close HAVE__CLOSE) if (UNIX) find_library(DLFCN_LIBRARY dl) |