summaryrefslogtreecommitdiff
path: root/ext/dts
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-03-01 18:44:13 +0100
committerMathieu Duponchelle <mathieu@centricular.com>2018-03-01 18:44:30 +0100
commit47208072bf5d7ce236621f94168ee0966982f2ea (patch)
tree395973aa12502c25a297a84e4a1acd22ab98e59a /ext/dts
parenta0cc9d1af004376cbedd8dd230712c69cd203517 (diff)
meson: enable more warnings
Diffstat (limited to 'ext/dts')
-rw-r--r--ext/dts/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/dts/meson.build b/ext/dts/meson.build
index 882a6aa89..6bbf95a6e 100644
--- a/ext/dts/meson.build
+++ b/ext/dts/meson.build
@@ -4,10 +4,14 @@ if not dca_dep.found() and cc.has_header_symbol('dca.h', 'dca_init')
dca_dep = cc.find_library('dca', required : false)
endif
+# autotools didn't use the libdca pkg-config cflags, and they
+# can point to a non-existing location (/usr/include/dca)
+no_warn_c_args = ['-Wno-missing-include-dirs']
+
if dca_dep.found()
gstdtsdec = library('gstdtsdec',
'gstdtsdec.c',
- c_args : gst_plugins_bad_args,
+ c_args : gst_plugins_bad_args + no_warn_c_args,
link_args : noseh_link_args,
include_directories : [configinc, libsinc],
dependencies : [gstaudio_dep, orc_dep, dca_dep],