mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
dev-libs/dbus-glib: Fix cross compile build error
Use host tool when building cross. Bump revision to -r1. Adjust the patch on top of dbus-glib 0.110. Original-by: Geoff Levand <geoff@infradead.org> 6d7756b77b10 ("dev-libs/dbus-glib: Fix cross compile build error")
This commit is contained in:
parent
e4cb197be5
commit
57d56fa2c0
@ -11,7 +11,7 @@ SRC_URI="https://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 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris"
|
||||
IUSE="debug static-libs test"
|
||||
IUSE="debug static-libs test cros_host"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="
|
||||
@ -42,6 +42,11 @@ multilib_src_configure() {
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
# 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[@]}"
|
||||
|
||||
ln -s "${S}"/doc/reference/html doc/reference/html || die #460042
|
Loading…
Reference in New Issue
Block a user