Discussion:
[PATCH] Don't require dbus for libudev-core.la
Bryan Kadzban
2012-05-31 05:32:48 UTC
Permalink
Split libsystemd-label.la into libsystemd-label-no-dbus.la and
libsystemd-label.la (which depends on the first). Link the first into
libudev-core, and keep linking the second in everywhere else.

Fixes compilation of standalone udevd on systems that don't have dbus
installed.

Signed-Off-By: Bryan Kadzban <***@kadzban.is-a-geek.net>

----
(Attached since my mailer is trying to split lines if I dump the git
diff directly into the message. Patch is against current git.)

Compile-tested only, by rerunning autogen.sh, then configuring (faking
out the dbus pkg-config dependencies), then running make systemd-udevd.
Kay Sievers
2012-05-31 20:22:45 UTC
Permalink
On Thu, May 31, 2012 at 7:32 AM, Bryan Kadzban
Post by Bryan Kadzban
Split libsystemd-label.la into libsystemd-label-no-dbus.la and
libsystemd-label.la (which depends on the first). =C2=A0Link the firs=
t into
Post by Bryan Kadzban
libudev-core, and keep linking the second in everywhere else.
Fixes compilation of standalone udevd on systems that don't have dbus
installed.
I split-off the unit-related files, it *should* have the same effect.

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug=
" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Bryan Kadzban
2012-06-01 03:43:36 UTC
Permalink
Post by Kay Sievers
On Thu, May 31, 2012 at 7:32 AM, Bryan Kadzban
Post by Bryan Kadzban
Split libsystemd-label.la into libsystemd-label-no-dbus.la and
libsystemd-label.la (which depends on the first). Link the first
into libudev-core, and keep linking the second in everywhere else.
Fixes compilation of standalone udevd on systems that don't have
dbus installed.
I split-off the unit-related files, it *should* have the same effect.
Yes, this seems to be working fine. Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...