diff --git a/sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.102.ebuild b/sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.102-r1.ebuild similarity index 92% rename from sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.102.ebuild rename to sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.102-r1.ebuild index 436132811f..5229a584ff 100644 --- a/sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.102.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/dev-libs/dbus-glib/dbus-glib-0.102-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz" LICENSE="|| ( GPL-2 AFL-2.1 )" SLOT="0" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris" -IUSE="debug doc static-libs test" +IUSE="debug doc static-libs test cros_host" CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] @@ -46,6 +46,11 @@ multilib_src_configure() { $(multilib_native_use_enable doc gtk-doc) ) + # Use host tool when building cross. + if ! use cros_host; then + myconf+=("--with-dbus-binding-tool=/usr/bin/dbus-binding-tool") + fi + ECONF_SOURCE="${S}" econf "${myconf[@]}" use doc || ln -s "${S}"/doc/reference/html doc/reference/html #460042