colord: fixed cross build.
This commit is contained in:
parent
d950c50b5f
commit
5bced62862
|
@ -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 New Issue