mirror of https://github.com/mpv-player/mpv
build: rpi: add missing linker flags to fix build
See https://www.raspberrypi.org/forums/viewtopic.php?f=67&t=20005&p=194090 and https://github.com/raspberrypi/firmware/issues/110 Raspberry-pi upstream also adds '-lGLESv2' when EGL is used: https://github.com/raspberrypi/userland/blob/master/pkgconfig/egl.pc.in
This commit is contained in:
parent
d040ab1119
commit
48143b0cf5
2
wscript
2
wscript
|
@ -772,7 +772,7 @@ video_output_features = [
|
||||||
lib=['mmal_core', 'mmal_util', 'mmal_vc_client', 'bcm_host']),
|
lib=['mmal_core', 'mmal_util', 'mmal_vc_client', 'bcm_host']),
|
||||||
# We still need all OpenGL symbols, because the vo_opengl code is
|
# We still need all OpenGL symbols, because the vo_opengl code is
|
||||||
# generic and supports anything from GLES2/OpenGL 2.1 to OpenGL 4 core.
|
# generic and supports anything from GLES2/OpenGL 2.1 to OpenGL 4 core.
|
||||||
check_cc(lib="EGL"),
|
check_cc(lib="EGL", linkflags="-lGLESv2"),
|
||||||
check_cc(lib="GLESv2"),
|
check_cc(lib="GLESv2"),
|
||||||
),
|
),
|
||||||
} , {
|
} , {
|
||||||
|
|
Loading…
Reference in New Issue