Explorar o código

dbus-glib: workaround Kconfig issue with select

Kconfig gets confused about the selects and thinks there's a recursive
dependency around expat, so implement an alternative solution instead.
Peter Korsgaard %!s(int64=16) %!d(string=hai) anos
pai
achega
8a68eb29bb
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      package/dbus-glib/Config.in

+ 4 - 1
package/dbus-glib/Config.in

@@ -1,9 +1,12 @@
 config BR2_PACKAGE_DBUS_GLIB
 config BR2_PACKAGE_DBUS_GLIB
 	bool "dbus-glib"
 	bool "dbus-glib"
 	depends on BR2_PACKAGE_DBUS
 	depends on BR2_PACKAGE_DBUS
+	depends on BR2_PACKAGE_EXPAT
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBGLIB2
-	select BR2_PACKAGE_EXPAT
 	help
 	help
 	  GLib bindings for D-Bus.
 	  GLib bindings for D-Bus.
 
 
 	  http://www.freedesktop.org/software/dbus
 	  http://www.freedesktop.org/software/dbus
+
+comment "dbus-glib needs dbus to be compiled with expat support"
+	depends on !BR2_PACKAGE_EXPAT