illiliti / libudev-zero

Daemonless replacement for libudev
ISC License
201 stars 22 forks source link

Makefile: support static-only builds #48

Closed alyssais closed 2 years ago

alyssais commented 2 years ago

One of the problems with udev is that systemd cannot be built statically. With libudev-zero, on the other hand, no code changes are required to be able to do a static-only build, only Makefile changes.

With this change, it's possible to "make install-static" to do a static-only build of libudev-zero.

illiliti commented 2 years ago

Thanks!