meson: link editor with gobject-2.0

editor.c calls g_clear_object(), so it should link to gobject directly instead
of relying on pangocairo pulling it in in its pkg-config.

Fixes: https://gitlab.freedesktop.org/wayland/weston/issues/211

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
(cherry picked from commit cbffca980b)
This commit is contained in:
Pekka Paalanen 2019-03-22 13:58:30 +02:00 committed by Simon Ser
parent ea5ea00d58
commit 0f4d31cefd
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -236,7 +236,7 @@ demo_clients = [
text_input_unstable_v1_client_protocol_h,
text_input_unstable_v1_protocol_c,
],
'deps': [ 'pangocairo' ]
'deps': [ 'pangocairo', 'gobject-2.0' ]
},
{ 'basename': 'eventdemo' },
{ 'basename': 'flower' },