[systemd-devel] How to build only udev

Kevin Greene kgreenek at gmail.com
Wed Jul 4 18:36:23 UTC 2018


2018-07-03 18:18 GMT-07:00 Mike Gilbert <floppym at gentoo.org>:

> 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.
>

​I appreciate the suggestion. I would definitely much prefer to do that,
but I'm cross-compiling​, and there doesn't appear to be a way to install
arm64 libudev-dev on x86_64
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180704/3b67a75e/attachment.html>


More information about the systemd-devel mailing list