[meta-freescale] [PATCH 3/5] gtk+3: Restore explicit CFLAGS setting

Tom Hochstein tom.hochstein at nxp.com
Tue Dec 13 09:55:43 PST 2016


The package doesn't link against egl, so we can't rely on egl.pc to provide
the necessary config settings.

Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
---
 recipes-graphics/gtk+/gtk+3_%.bbappend | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/recipes-graphics/gtk+/gtk+3_%.bbappend b/recipes-graphics/gtk+/gtk+3_%.bbappend
index bc4a404..2f83097 100644
--- a/recipes-graphics/gtk+/gtk+3_%.bbappend
+++ b/recipes-graphics/gtk+/gtk+3_%.bbappend
@@ -1,3 +1,8 @@
 PACKAGECONFIG_remove_mx6 = " \
     ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "x11", "", d)} \
 "
+
+CFLAGS_append_mx6 = " \
+    -DLINUX \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DEGL_API_WL', '', d)} \
+"
-- 
1.9.1



More information about the meta-freescale mailing list