zfs/tests/zfs-tests/cmd/devname2devid
Ryan Moeller 0c79b070a7
ZTS: Fix devname2devid build on FreeBSD with libudev
When libudev is installed on FreeBSD, configure finds it and sets
WANT_DEVNAME2DEVID, but it isn't found by the linker because we
didn't specify where it is.

Use LIBUDEV_LIBS so the location of the library gets added to the
linker flags for devname2devid.
Also use LIBUDEV_CFLAGS here in case some other platform needs it.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10590
2020-07-22 10:49:22 -07:00
..
.gitignore Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
Makefile.am ZTS: Fix devname2devid build on FreeBSD with libudev 2020-07-22 10:49:22 -07:00
devname2devid.c Fedora 28: Fix misc bounds check compiler warnings 2018-04-04 10:16:47 -07:00