mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 06:51:26 +02:00
dev-libs/dbus-glib: Fix cross compile build error
Use host tool when building cross. Bump revision from dbus-glib-0.102 to dbus-glib-0.102-r1. Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
94124f86f8
commit
5de20566dc
@ -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
|
Loading…
x
Reference in New Issue
Block a user