From: Thibault Saunier Date: Fri, 23 Jun 2017 20:18:49 +0000 (-0400) Subject: meson: Allow using glib as a subproject X-Git-Tag: 1.19.3~507^2~5119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9c61ff4aaf3b53da060e0c288eef099a5d79a78;p=platform%2Fupstream%2Fgstreamer.git meson: Allow using glib as a subproject --- diff --git a/meson.build b/meson.build index 4ae32c6..182aa40 100644 --- a/meson.build +++ b/meson.build @@ -315,9 +315,12 @@ if host_machine.system() != 'windows' endif libm = cc.find_library('m', required : false) -glib_dep = dependency('glib-2.0', version : glib_req) -gio_dep = dependency('gio-2.0', version : glib_req) -gmodule_dep = dependency('gmodule-2.0', version : glib_req) +glib_dep = dependency('glib-2.0', version : glib_req, + fallback: ['glib', 'libglib_dep']) +gmodule_dep = dependency('gmodule-2.0', + fallback: ['glib', 'libgmodule_dep']) +gio_dep = dependency('gio-2.0', + fallback: ['glib', 'libgio_dep']) x11_dep = dependency('x11', required : false) # Used by dtls and hls