summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Zeid <s@zeid.me>2017-12-20 03:25:37 -0600
committerMartin Herkt <652892+lachs0r@users.noreply.github.com>2017-12-21 19:47:54 +0100
commit688768b9bda24a06efac4349ad25e8fac09c35e5 (patch)
tree85f24a3dc17feaaf888b1a84eaf33686492e901c
parent3412c1a1aa609a580150925aa28a8de0f10d8ef7 (diff)
downloadmpv-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.
-rw-r--r--wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/wscript b/wscript
index b4caba9531..8713cc904a 100644
--- a/wscript
+++ b/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']),