On Tue, Jul 3, 2018 at 7:55 PM, Kevin Greene <kgreenek at gmail.com> wrote: > I am building libusb, and I want to build it with udev support. I don't need > to build anything in systemd except udev. Is there a good way to do that? > > I'm deploying to machines running Ubuntu 16.04, so I'm targeting systemd > v229 (which was pre-meson). Why not just install the libudev-dev package on a Ubuntu dev system/chroot? That would be much simpler than building libudev from scratch, and would ensure you build against the actual library Ubuntu uses.