Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] webkitgtk24: fix building with rpi egl/gles
@ 2016-02-08 22:52 Gustavo Zacarias
  2016-02-09 10:45 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Zacarias @ 2016-02-08 22:52 UTC (permalink / raw)
  To: buildroot

It needs special handling for the additional include fixes. Fixes:
http://autobuild.buildroot.net/results/083/083ce94b1ac61a60aa16906336612af59e32b18b/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/webkitgtk24/webkitgtk24.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/webkitgtk24/webkitgtk24.mk b/package/webkitgtk24/webkitgtk24.mk
index 8a831d9..07927ac 100644
--- a/package/webkitgtk24/webkitgtk24.mk
+++ b/package/webkitgtk24/webkitgtk24.mk
@@ -69,6 +69,13 @@ WEBKITGTK24_CONF_OPTS += \
 	--enable-webgl \
 	--disable-glx
 WEBKITGTK24_DEPENDENCIES += libegl libgles
+# RPi EGL/GLES needs special handling
+ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
+WEBKITGTK24_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) \
+	-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads \
+        -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux" \
+	LIBS="-lvcos -lvchostif"
+endif
 # No GL
 else
 WEBKITGTK24_CONF_OPTS += \
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-09 13:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-08 22:52 [Buildroot] [PATCH] webkitgtk24: fix building with rpi egl/gles Gustavo Zacarias
2016-02-09 10:45 ` Thomas Petazzoni
2016-02-09 13:18   ` Gustavo Zacarias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox