From: Xavier Claessens Date: Wed, 24 Jul 2019 18:37:40 +0000 (-0400) Subject: dash: Fallback to libxml2 subproject X-Git-Tag: 1.19.3~507^2~3070 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71d9e330854312658f9a4b0bfb6d94269b686974;p=platform%2Fupstream%2Fgstreamer.git dash: Fallback to libxml2 subproject --- diff --git a/ext/dash/meson.build b/ext/dash/meson.build index af58806..a9bb550 100644 --- a/ext/dash/meson.build +++ b/ext/dash/meson.build @@ -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,