diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2016-07-27 08:42:22 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2016-07-29 07:20:58 +0000 |
commit | 4940194a35a5776aaaf7959441af58c0a4c04247 (patch) | |
tree | d9703f499d1ccaf910f11ef8d1a4a28e693f30e2 /configure.json | |
parent | c8f29602d677b7f5bfdb7af71a5b7bc5b5e5f60d (diff) |
Use pkg-config for RPi EGL detection
The config test for eglfs-brcm would fail otherwise on modern Yocto-based
sysroots, as these have no /opt/vc, but have a proper egl.pc that has the
include path and libs.
Task-number: QTBUG-50838
Change-Id: Ibe8dcfbfe9aabe00fd8c040e6e41a4479ccb39bb
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'configure.json')
-rw-r--r-- | configure.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.json b/configure.json index 14ab0c206a..dd1ecb4829 100644 --- a/configure.json +++ b/configure.json @@ -709,7 +709,8 @@ "eglfs-brcm": { "description": "Broadcom EGL (Rasberry Pi)", "type": "compile", - "test": "qpa/eglfs-brcm" + "test": "qpa/eglfs-brcm", + "pkg-config-args": "egl" }, "eglfs-egldevice": { "description": "EGLDevice", |