[Buildroot] [PATCH 2/2] package/efl/libecore: x-includes and x-libraries must be set for cross-compiling
Romain Naour
romain.naour at openwide.fr
Sat May 2 14:32:34 UTC 2015
The generated file ecore-x.pc contains unsafe libraries paths
in Libs.private if x-include and x-libraries are not set in
libecore.mk.
Fixes:
http://autobuild.buildroot.net/results/306/306c9fc737ee76d4659e14bf3102b94a57ea45dd/
Signed-off-by: Romain Naour <romain.naour at openwide.fr>
---
package/efl/libecore/libecore.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/efl/libecore/libecore.mk b/package/efl/libecore/libecore.mk
index dc73687..1f711a8 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
--
1.9.3
More information about the buildroot
mailing list