libecore: fix build of host-libecore when X11 not available

The host-libecore build tries to build the X11 backend. This works if
you have X11 headers/libraries installed on your build machine, but
fails if you don't, and Buildroot shouldn't depend on such things
being installed.

Therefore, we force host-libecore to not build any of the graphical
backends (X, XCB or DirectFB).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2012-02-28 23:35:48 +01:00 committed by Peter Korsgaard
parent 6d24b41b09
commit def11d7922

View file

@ -12,7 +12,13 @@ LIBECORE_INSTALL_STAGING = YES
LIBECORE_DEPENDENCIES = host-pkg-config libeina
HOST_LIBECORE_DEPENDENCIES = host-pkg-config host-libeina host-libevas
HOST_LIBECORE_CONF_OPT += --enable-ecore-evas
HOST_LIBECORE_CONF_OPT += \
--enable-ecore-evas \
--disable-simple-x11 \
--disable-ecore-directfb \
--disable-ecore-x \
--disable-ecore-x-xcb \
--disable-ecore-imf-xim
# default options
LIBECORE_CONF_OPT = --disable-simple-x11