examples: Add missing dependency on glib-2.0

It has previously been implicitly pulled in by libsysprof-capture, but
that will change in future.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Helps: #40
This commit is contained in:
Philip Withnall
2020-06-30 16:18:51 +01:00
parent 2cc79dd444
commit dbcf318096
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@
# include <sched.h>
#endif
#include <glib.h>
#include <signal.h>
#include <sysprof-capture.h>
#include <unistd.h>

View File

@ -1,3 +1,3 @@
app = executable('example-app', 'app.c',
dependencies: [libsysprof_capture_dep],
dependencies: [dependency('glib-2.0'), libsysprof_capture_dep],
)