dash: Fallback to libxml2 subproject
authorXavier Claessens <xavier.claessens@collabora.com>
Wed, 24 Jul 2019 18:37:40 +0000 (14:37 -0400)
committerXavier Claessens <xavier.claessens@collabora.com>
Wed, 24 Jul 2019 18:38:08 +0000 (14:38 -0400)
ext/dash/meson.build

index af58806..a9bb550 100644 (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,