From aebd94cc8541e0ec3b1de57edbd57c4280213089 Mon Sep 17 00:00:00 2001 From: Rob N Date: Tue, 28 Mar 2023 05:55:54 +1100 Subject: [PATCH] config: don't link libudev on FreeBSD FreeBSD has a libudev shim in libudev-devd. If present, configure would detect it and produce binaries linked against it, even though nothing used it. That is surprising and unnecessary, so lets remove it. Reviewed-by: Brian Behlendorf Signed-off-by: Rob Norris Closes #14669 --- config/user.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/user.m4 b/config/user.m4 index a7241f44f1fd..6ec27a5b2cf5 100644 --- a/config/user.m4 +++ b/config/user.m4 @@ -14,11 +14,11 @@ AC_DEFUN([ZFS_AC_CONFIG_USER], [ AM_COND_IF([BUILD_LINUX], [ ZFS_AC_CONFIG_USER_UDEV ZFS_AC_CONFIG_USER_SYSTEMD + ZFS_AC_CONFIG_USER_LIBUDEV ZFS_AC_CONFIG_USER_LIBUUID ZFS_AC_CONFIG_USER_LIBBLKID ]) ZFS_AC_CONFIG_USER_LIBTIRPC - ZFS_AC_CONFIG_USER_LIBUDEV ZFS_AC_CONFIG_USER_LIBCRYPTO ZFS_AC_CONFIG_USER_LIBAIO ZFS_AC_CONFIG_USER_LIBATOMIC