meson: matroska: Ensure header dependency not only library
Library existence does not guarantee header.
This commit is contained in:
parent
2476e9e4ae
commit
7fb8abf8bb
@ -12,7 +12,7 @@ matroska_sources = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
bz2_dep = cc.find_library('bz2', required : get_option('bz2'))
|
bz2_dep = cc.find_library('bz2', required : get_option('bz2'))
|
||||||
cdata.set('HAVE_BZ2', bz2_dep.found())
|
cdata.set('HAVE_BZ2', bz2_dep.found() and cc.has_header('bzlib.h'))
|
||||||
|
|
||||||
gstmatroska = library('gstmatroska',
|
gstmatroska = library('gstmatroska',
|
||||||
matroska_sources,
|
matroska_sources,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user