Do not call dbus_g_bus_get in headless mode on legacy systems
[moonshot-ui.git] / Makefile.am
index ffa8110..db1c4f7 100644 (file)
@@ -175,6 +175,7 @@ AM_VALAFLAGS += \
        --pkg dbus-glib-1 \
        --define=IPC_DBUS_GLIB \
        --define=IPC_DBUS
+AM_CPPFLAGS += -DIPC_DBUS_GLIB
 else
 AM_VALAFLAGS += \
        --pkg gio-2.0 \