Selaa lähdekoodia

package/dbus: disable systemd for host build

This fixes an issue if host-dbus happens to be rebuilt after systemd, in
which case it autodetects systemd support but then ignored the prefix
when installing unit files.  That means that is tries to write to the
host system's /usr/lib/ which fails.

There is no reason to build and install systemd support in the host
build, so disable it explicitly.

Signed-off-by: John Keeping <john@metanate.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 1bfdb3d08daa0a516525965e00ccabdb8a714b39)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
John Keeping 5 vuotta sitten
vanhempi
commit
06922cf958
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      package/dbus/dbus.mk

+ 1 - 0
package/dbus/dbus.mk

@@ -107,6 +107,7 @@ HOST_DBUS_CONF_OPTS = \
 	--disable-selinux \
 	--disable-xml-docs \
 	--disable-doxygen-docs \
+	--disable-systemd \
 	--without-x \
 	--with-xml=expat