Skip to contentSkip to conversation

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

Buildroot Peter Korsgaard 1 participant 1 message Feb 29, 2012

lore
Share & tools
lore
#0 lore raw

commit: http://git.buildroot.net/buildroot/commit/?id=def11d79227d42976ae7c918f4a0ba44c94a0813
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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).

---
 package/efl/libecore/libecore.mk |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
package/efl/libecore/libecore.mk +7 -1
index db14356..c76b3ff 100644
@@ -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