dash: Fallback to libxml2 subproject

This commit is contained in:
Xavier Claessens 2019-07-24 14:37:40 -04:00
parent 96dc150b8b
commit 71d9e33085

View file

@ -4,7 +4,12 @@ dash_sources = [
'gstplugin.c',
]
xml2_dep = dependency('libxml-2.0', version : '>= 2.8', required : get_option('dash'))
xml2_dep = dependency('libxml-2.0',
version : '>= 2.8',
fallback : ['libxml2', 'xml2lib_dep'],
required : get_option('dash')
)
if xml2_dep.found()
gstsouphttpsrc = library('gstdashdemux',
dash_sources,