summaryrefslogtreecommitdiffstats
path: root/package/efl
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-05-03 11:44:41 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-05-03 11:44:41 +0200
commit0d9d8984a9240a27f5ed2e15f1977ada67266906 (patch)
tree7c2b725f3919ba2eca2ed0c1edc2d68ce3501580 /package/efl
parentda50b6b61c4a566fd28888f5a3a6dcb06fe1b495 (diff)
downloadbuildroot-0d9d8984a9240a27f5ed2e15f1977ada67266906.tar.gz
buildroot-0d9d8984a9240a27f5ed2e15f1977ada67266906.zip
libecore: x-includes and x-libraries must be set for cross-compiling
If those flags are not explicitly passed, the libecore configure script will include -I/usr/X11R6/include and -L/usr/X11R6/lib in the compile flags, which are obviously unsafe for cross-compilation. The fix is similar to "package/efl/libevas: x-includes and x-libraries must be set for cross-compiling" done by Romain Naour on libecore. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/efl')
-rw-r--r--package/efl/libecore/libecore.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/efl/libecore/libecore.mk b/package/efl/libecore/libecore.mk
index dc73687148..1f711a8315 100644
--- a/package/efl/libecore/libecore.mk
+++ b/package/efl/libecore/libecore.mk
@@ -74,7 +74,10 @@ LIBECORE_CONF_OPTS += --disable-ecore-sdl
endif
ifeq ($(BR2_PACKAGE_LIBECORE_X),y)
-LIBECORE_CONF_OPTS += --enable-ecore-x
+LIBECORE_CONF_OPTS += --enable-ecore-x \
+ --with-x=$(STAGING_DIR) \
+ --x-includes=$(STAGING_DIR)/usr/include \
+ --x-libraries=$(STAGING_DIR)/usr/lib
LIBECORE_DEPENDENCIES += xlib_libXext xlib_libX11
else
LIBECORE_CONF_OPTS += --disable-ecore-x --disable-ecore-imf-xim
OpenPOWER on IntegriCloud