colord: fixed cross build.
This commit is contained in:
parent
d950c50b5f
commit
5bced62862
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ makedepends="vala-devel>=0.20 libgudev-devel polkit-devel lcms2-devel dbus-devel
|
|||
libusb-devel libgusb-devel>=0.1.6 sqlite-devel sane-devel bash-completion"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" libtool glib-devel colord"
|
||||
hostmakedepends+=" which automake libtool gettext-devel glib-devel gtk-doc colord gobject-introspection"
|
||||
fi
|
||||
|
||||
# Package build options
|
||||
|
@ -53,9 +53,9 @@ fi
|
|||
|
||||
pre_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
# Use host cd-create-profile instead.
|
||||
sed -e 's,$(top_builddir)/client/cd-create-profile,cd-create-profile,g' -i data/profiles/Makefile.in
|
||||
libtoolize -f
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue