mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 02:51:26 +00:00
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',
|
||||
'desc': 'Raspberry Pi support',
|
||||
'func': compose_checks(
|
||||
check_cc(cflags="-isystem/opt/vc/include/ "+
|
||||
"-isystem/opt/vc/include/interface/vcos/pthreads " +
|
||||
"-isystem/opt/vc/include/interface/vmcs_host/linux " +
|
||||
"-fgnu89-inline",
|
||||
check_cc(cflags=["-isystem/opt/vc/include",
|
||||
"-isystem/opt/vc/include/interface/vcos/pthreads",
|
||||
"-isystem/opt/vc/include/interface/vmcs_host/linux",
|
||||
"-fgnu89-inline"],
|
||||
linkflags="-L/opt/vc/lib",
|
||||
header_name="bcm_host.h",
|
||||
lib=['mmal_core', 'mmal_util', 'mmal_vc_client', 'bcm_host']),
|
||||
|
Loading…
Reference in New Issue
Block a user