summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-01-09 08:05:15 +0100
committerThomas Haller <thaller@redhat.com>2018-01-10 12:22:55 +0100
commit50930ed19a476f060b77f630111e7eb4c18b8008 (patch)
treedcf2b9b2e71482560045294c3b4eeaa9794de314 /vapi
parent5e16bcf268b0a88764c06ecdb0d694cff560d201 (diff)
meson: Use string variables extensively
The strings holding the names used for libraries have also been moved to different variables. This way they would be less error as these variables can be reused easily and any typing error would be quickly detected.
Diffstat (limited to 'vapi')
-rw-r--r--vapi/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/vapi/meson.build b/vapi/meson.build
index 330d055191..835a0b9aaf 100644
--- a/vapi/meson.build
+++ b/vapi/meson.build
@@ -1,5 +1,5 @@
gnome.generate_vapi(
- 'libnm',
+ libnm_name,
sources: libnm_gir[0],
packages: 'gio-2.0',
install: true
@@ -12,7 +12,7 @@ if enable_libnm_glib
]
libnm_util_vapi = gnome.generate_vapi(
- 'libnm-util',
+ libnm_util_name,
sources: libnm_util_gir[0],
packages: packages,
install: true
@@ -21,7 +21,7 @@ if enable_libnm_glib
packages += libnm_util_vapi
gnome.generate_vapi(
- 'libnm-glib',
+ libnm_glib_name,
sources: libnm_glib_gir[0],
packages: packages,
install: true