meson: link remoting with glib and gobject

remoting-plugin.c calls things like g_error_free() and g_object_set(), so it
needs to link glib-2.0 and gobject-2.0 explicitly, instead of relying on
GStreamer pkg-config bringing them in.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2019-03-22 14:37:39 +02:00 committed by Daniel Stone
parent 191c453f83
commit 292aaf9308
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ if get_option('remoting')
depnames = [
'gstreamer-1.0', 'gstreamer-allocators-1.0',
'gstreamer-app-1.0', 'gstreamer-video-1.0'
'gstreamer-app-1.0', 'gstreamer-video-1.0',
'gobject-2.0', 'glib-2.0'
]
deps_remoting = [ dep_libweston ]
foreach depname : depnames