From b6cace6c05677fb3e585d8a8d8d611f7075d4ed7dc593243dab1231cca6ce369 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 4 Oct 2011 08:31:35 +0000 Subject: [PATCH] Accepting request 86376 from home:uli_suse:branches:Base:System - cross-build fix: use host's dbus-binding-tool OBS-URL: https://build.opensuse.org/request/show/86376 OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1-glib?expand=0&rev=27 --- dbus-1-glib.changes | 5 +++++ dbus-1-glib.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/dbus-1-glib.changes b/dbus-1-glib.changes index f884eea..c09483e 100644 --- a/dbus-1-glib.changes +++ b/dbus-1-glib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 14:47:56 UTC 2011 - uli@suse.com + +- cross-build fix: use host's dbus-binding-tool + ------------------------------------------------------------------- Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de diff --git a/dbus-1-glib.spec b/dbus-1-glib.spec index 9ae3fe3..2d39e12 100644 --- a/dbus-1-glib.spec +++ b/dbus-1-glib.spec @@ -75,6 +75,9 @@ GLib thread abstraction and main loop. export CFLAGS="${RPM_OPT_FLAGS} -fstack-protector -fPIC" %configure \ --libexecdir=%{_libexecdir}/%{name} \ +%if 0%{?_crossbuild} + --with-dbus-binding-tool=/usr/bin/dbus-binding-tool \ +%endif --disable-static %{__make} %{?_smp_mflags}