[3.11] gh-90005: Don't link with libbsd if not needed (#105236) (#105359)

The regression was introduced with commit 5b946cada.
Restore pre gh-29696 behaviour.
This commit is contained in:
Erlend E. Aasland 2023-06-06 13:00:38 +02:00 committed by GitHub
parent faae548e0e
commit b8d3bb72b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

6
configure generated vendored
View file

@ -15796,9 +15796,7 @@ if test "x$ac_cv_func_flock" = xyes; then :
#define HAVE_FLOCK 1
_ACEOF
fi
done
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock in -lbsd" >&5
$as_echo_n "checking for flock in -lbsd... " >&6; }
if ${ac_cv_lib_bsd_flock+:} false; then :
@ -15839,6 +15837,8 @@ if test "x$ac_cv_lib_bsd_flock" = xyes; then :
FCNTL_LIBS="-lbsd"
fi
fi
done
fi