diff options
author | Simon McVittie <smcv@debian.org> | 2020-08-14 12:56:47 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2020-08-14 13:01:26 +0100 |
commit | 0376129b92490789ca337d8cd9f6b3bcbd00e416 (patch) | |
tree | bb3cb15f90494c823a63595052541f0f31537622 | |
parent | 323707648fdefd11502faf44c2aa41d9b9500078 (diff) |
build: Add missing pkg-config Requires.private dependencies
Otherwise, a trivial executable that includes <act/act.h>, built with
$(pkg-config --cflags --libs accountsservice), will fail to compile
when we cannot include headers like <glib-object.h>.
Signed-off-by: Simon McVittie <smcv@debian.org>
-rw-r--r-- | src/libaccountsservice/meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libaccountsservice/meson.build b/src/libaccountsservice/meson.build index a3cf7d3..51c18fa 100644 --- a/src/libaccountsservice/meson.build +++ b/src/libaccountsservice/meson.build @@ -69,6 +69,12 @@ pkg.generate( 'datadir=${prefix}/' + get_option('datadir'), 'interfacesdir=${datadir}/accountsservice/interfaces', ], + requires_private : [ + 'gio-2.0', + 'glib-2.0', + 'gobject-2.0', + 'polkit-gobject-1', + ], ) if get_option('introspection') |