summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libnm-client-impl/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libnm-client-impl/meson.build b/src/libnm-client-impl/meson.build
index 21a01e0b04..2026f98dc3 100644
--- a/src/libnm-client-impl/meson.build
+++ b/src/libnm-client-impl/meson.build
@@ -140,6 +140,14 @@ if enable_introspection
src_inc,
top_inc,
],
+ dependencies: [
+ declare_dependency(
+ compile_args: [
+ '-UGLIB_VERSION_MIN_REQUIRED',
+ '-UGLIB_VERSION_MAX_ALLOWED',
+ ],
+ ),
+ ],
nsversion: nm_gir_version,
namespace: 'NM',
identifier_prefix: nm_id_prefix,