diff options
author | wm4 <wm4@nowhere> | 2015-08-18 23:57:00 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-18 23:57:00 +0200 |
commit | 1b7883a3e57a39edfd39732efde5cd02417e3ebd (patch) | |
tree | fe4525e55eb992bfe7fc1f3c0f22f0fcbe791a36 /wscript | |
parent | 4427fa9900a33f21ace5f7642fc5bc65a379c8c5 (diff) | |
download | mpv-1b7883a3e57a39edfd39732efde5cd02417e3ebd.tar.bz2 mpv-1b7883a3e57a39edfd39732efde5cd02417e3ebd.tar.xz |
build: workaround for broken waf crap
Even though the rpi check fails, it'll define "HAVE_RPI 1" in config.h.
Why? Who knows...
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -674,7 +674,7 @@ video_output_features = [ # every project to hardcode the paths to the include directories. Also, # these headers are so broken that they spam tons of warnings by merely # including them (compensate with -isystem and -fgnu89-inline). - 'name': '--rpi', + 'name': '--not-really-rpi', 'desc': 'Raspberry Pi support', 'func': compose_checks( check_cc(cflags="-isystem/opt/vc/include/ "+ @@ -691,6 +691,12 @@ video_output_features = [ check_statement('GL/gl.h', '(void)GL_RGB32F'), # arbitrary OpenGL 3.0 symbol check_statement('GL/gl.h', '(void)GL_LUMINANCE16') # arbitrary OpenGL legacy-only symbol ), + }, { + # workaround for buggy compose_checks + 'name': 'rpi', + 'desc': 'RPI', + 'deps': ['not-really-rpi'], + 'func': check_true, } , { 'name': '--gl', 'desc': 'OpenGL video outputs', |