HomeFreeBSD

Fix libudev dependency in libzutil

Description

Fix libudev dependency in libzutil

ZFS should be able to build without libudev installed. The recent
change for libzutil inadvertently broke that. Make the libudev code
conditional in zutil_import.c to resolve the build failure.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Don Brady <don.brady@delphix.com>
Closes #8097

Details

Provenance
Don Brady <don.brady@delphix.com>Authored on Nov 7 2018, 1:47 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Nov 7 2018, 1:47 AM
Parents
rGf0f978654581: zpool: bogus error for invalid dedupditto value
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG95692927f284: Fix libudev dependency in libzutil (authored by Don Brady <don.brady@delphix.com>).Nov 7 2018, 1:47 AM