diff options
| author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2016-02-09 10:17:57 -0300 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-25 22:41:40 +0100 |
| commit | 71c58aa45394dc7fcb97101be66794e169bfc827 (patch) | |
| tree | eb8677252227532c275ca60f9b18031c6703ed87 | |
| parent | e1bd0c377b2b97823d3ec661680f8b2a6a5bbec8 (diff) | |
| download | buildroot-71c58aa45394dc7fcb97101be66794e169bfc827.tar.gz buildroot-71c58aa45394dc7fcb97101be66794e169bfc827.zip | |
webkitgtk24: fix building with rpi egl/gles
Some egl/gles binary-only implementations need some extra help in the
form of additional include directories, like rpi-userland. Fixes:
http://autobuild.buildroot.net/results/083/083ce94b1ac61a60aa16906336612af59e32b18b/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| -rw-r--r-- | package/webkitgtk24/webkitgtk24.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/package/webkitgtk24/webkitgtk24.mk b/package/webkitgtk24/webkitgtk24.mk index 712120c28b..0dc47748d0 100644 --- a/package/webkitgtk24/webkitgtk24.mk +++ b/package/webkitgtk24/webkitgtk24.mk @@ -13,8 +13,8 @@ WEBKITGTK24_LICENSE_FILES = \ Source/WebCore/LICENSE-APPLE \ Source/WebCore/LICENSE-LGPL-2 WEBKITGTK24_DEPENDENCIES = host-ruby host-flex host-bison host-gperf \ - enchant harfbuzz icu jpeg libcurl libgtk2 libsecret libsoup \ - libxml2 libxslt sqlite webp + host-pkgconf enchant harfbuzz icu jpeg libcurl libgtk2 \ + libsecret libsoup libxml2 libxslt sqlite webp WEBKITGTK24_DEPENDENCIES += \ $(if $(BR_PACKAGE_XLIB_LIBXCOMPOSITE),xlib_libXcomposite) \ @@ -69,6 +69,10 @@ WEBKITGTK24_CONF_OPTS += \ --enable-webgl \ --disable-glx WEBKITGTK24_DEPENDENCIES += libegl libgles +# Some EGL/GLES implementations needs extra help (eg. rpi-userland) +WEBKITGTK24_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) \ + `$(PKG_CONFIG_HOST_BINARY) --cflags egl` \ + `$(PKG_CONFIG_HOST_BINARY) --clfags glesv2`" # No GL else WEBKITGTK24_CONF_OPTS += \ |

