mirror of https://github.com/mpv-player/mpv
build: use a list instead of a string for rpi cflags
Using a string caused all 4 flags to be passed as one argument, causing the build to fail when trying to include bcm_host.h.
This commit is contained in:
parent
3412c1a1aa
commit
688768b9bd
8
wscript
8
wscript
|
@ -749,10 +749,10 @@ video_output_features = [
|
||||||
'name': '--rpi',
|
'name': '--rpi',
|
||||||
'desc': 'Raspberry Pi support',
|
'desc': 'Raspberry Pi support',
|
||||||
'func': compose_checks(
|
'func': compose_checks(
|
||||||
check_cc(cflags="-isystem/opt/vc/include/ "+
|
check_cc(cflags=["-isystem/opt/vc/include",
|
||||||
"-isystem/opt/vc/include/interface/vcos/pthreads " +
|
"-isystem/opt/vc/include/interface/vcos/pthreads",
|
||||||
"-isystem/opt/vc/include/interface/vmcs_host/linux " +
|
"-isystem/opt/vc/include/interface/vmcs_host/linux",
|
||||||
"-fgnu89-inline",
|
"-fgnu89-inline"],
|
||||||
linkflags="-L/opt/vc/lib",
|
linkflags="-L/opt/vc/lib",
|
||||||
header_name="bcm_host.h",
|
header_name="bcm_host.h",
|
||||||
lib=['mmal_core', 'mmal_util', 'mmal_vc_client', 'bcm_host']),
|
lib=['mmal_core', 'mmal_util', 'mmal_vc_client', 'bcm_host']),
|
||||||
|
|
Loading…
Reference in New Issue