diff options
author | wm4 <wm4@nowhere> | 2017-04-26 17:09:16 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-04-26 17:09:16 +0200 |
commit | cb25bb5776b30e34ff7aa32c5e0a4f8862774e74 (patch) | |
tree | fe80b526664840964bf2c70441f4fd2dd30ffc33 | |
parent | 37820827223fcfaf398dbf5009a93ab6df972d6d (diff) | |
download | mpv-cb25bb5776b30e34ff7aa32c5e0a4f8862774e74.tar.bz2 mpv-cb25bb5776b30e34ff7aa32c5e0a4f8862774e74.tar.xz |
build: remove checks for libGL
We don't need to link against libGL directly, nor do we need OpenGL
headers. The only thing we need is the windowing interop stuff, such as
libEGL.
-rw-r--r-- | waftools/checks/custom.py | 1 | ||||
-rw-r--r-- | wscript | 8 |
2 files changed, 2 insertions, 7 deletions
diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py index 36b6822bee..a2b4971cd2 100644 --- a/waftools/checks/custom.py +++ b/waftools/checks/custom.py @@ -144,7 +144,6 @@ def check_rpi(ctx, dependency_identifier): checks = [ check_pkg_config('bcm_host', uselib_store='bcm_host'), check_pkg_config('egl'), - check_pkg_config('glesv2'), check_cc(lib=['mmal_core', 'mmal_util', 'mmal_vc_client'], use=['bcm_host']), ] @@ -610,16 +610,13 @@ video_output_features = [ 'desc': 'OpenGL X11 EGL Backend', 'deps': [ 'x11' ], 'groups': [ 'gl' ], - 'func': check_pkg_config('egl', 'gl'), + 'func': check_pkg_config('egl'), } , { 'name': '--egl-drm', 'desc': 'OpenGL DRM EGL Backend', 'deps': [ 'drm', 'gbm' ], 'groups': [ 'gl' ], - 'func': compose_checks( - check_pkg_config('egl'), - check_pkg_config_cflags('gl') - ) + 'func': check_pkg_config('egl'), } , { 'name': '--gl-wayland', 'desc': 'OpenGL Wayland Backend', @@ -743,7 +740,6 @@ video_output_features = [ 'deps': ['libdl'], 'func': compose_checks( check_cc(lib="EGL"), - check_cc(lib="GLESv2"), check_statement('EGL/fbdev_window.h', 'struct fbdev_window test'), check_statement('linux/fb.h', 'struct fb_var_screeninfo test'), ), |