From fe3131ae88131b63a1d115f7efcd095ee5b7fe69 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 23 Jun 2017 16:19:04 -0400 Subject: [PATCH] meson: Allow using glib as a subproject --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 170fc03..bedbc0f 100644 --- a/meson.build +++ b/meson.build @@ -57,7 +57,8 @@ rtspserver_args = ['-DHAVE_CONFIG_H'] rtspserver_incs = include_directories('gst/rtsp-server', '.') -glib_dep = dependency('glib-2.0', version : glib_req) +glib_dep = dependency('glib-2.0', version : glib_req, + fallback: ['glib', 'libglib_dep']) gst_dep = dependency('gstreamer-1.0', version : gst_req, fallback : ['gstreamer', 'gst_dep']) gstrtsp_dep = dependency('gstreamer-rtsp-1.0', version : gst_req, -- 2.7.4