projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c645f8
)
meson: Fix oss4 header checks
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 31 Jul 2018 21:48:58 +0000
(
03:18
+0530)
committer
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 31 Jul 2018 21:48:58 +0000
(
03:18
+0530)
Otherwise, oss4 ends up getting built when force-disabled.
sys/oss4/meson.build
patch
|
blob
|
history
diff --git
a/sys/oss4/meson.build
b/sys/oss4/meson.build
index
c33bfbd
..
58839ae
100644
(file)
--- a/
sys/oss4/meson.build
+++ b/
sys/oss4/meson.build
@@
-1,12
+1,11
@@
-have_oss4 =
tru
e
+have_oss4 =
fals
e
oss4_option = get_option('oss4')
if not oss4_option.disabled()
+ have_oss4 = true
message('Checking headers needed for Open Sound System 4 plugin...')
foreach hdr : ['fcntl.h', 'sys/ioctl.h', 'sys/stat.h', 'sys/types.h']
- if have_oss4
- if not cc.has_header(hdr)
- have_oss4 = false
- endif
+ if have_oss4 and not cc.has_header(hdr)
+ have_oss4 = false
endif
endforeach