diff options
author | Scott Zeid <s@zeid.me> | 2017-12-20 03:25:37 -0600 |
---|---|---|
committer | Martin Herkt <652892+lachs0r@users.noreply.github.com> | 2017-12-21 19:47:54 +0100 |
commit | 688768b9bda24a06efac4349ad25e8fac09c35e5 (patch) | |
tree | 85f24a3dc17feaaf888b1a84eaf33686492e901c /wscript | |
parent | 3412c1a1aa609a580150925aa28a8de0f10d8ef7 (diff) | |
download | mpv-688768b9bda24a06efac4349ad25e8fac09c35e5.tar.bz2 mpv-688768b9bda24a06efac4349ad25e8fac09c35e5.tar.xz |
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.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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']), |