summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-02-14 13:35:38 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2018-02-14 14:14:22 +0000
commit4b7017ef357686e8d1d7d6525174b18979a8bd16 (patch)
treee741a4498729d0c8e3466bb656d856f2481f4340 /modules
parent970d2e3f453900ddc2b28564648f941d75899d96 (diff)
downloadgtk+-4b7017ef357686e8d1d7d6525174b18979a8bd16.tar.gz
build: Rename 'disable-modules' option
We should not have 'disable' in the name, to conform with the Meson best practices for boolean options.
Diffstat (limited to 'modules')
-rw-r--r--modules/input/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/input/meson.build b/modules/input/meson.build
index 0111790c73..72171582db 100644
--- a/modules/input/meson.build
+++ b/modules/input/meson.build
@@ -6,8 +6,8 @@
# there is a bit of an ordering problem which we solve by collecting all the
# information here but moving the actual build definitions to gtk/meson.build.
build_dynamic_modules = false
-disable_modules = get_option('disable-modules')
-if not disable_modules
+dynamic_modules = get_option('dynamic-modules')
+if dynamic_modules
gmodule_supported = dependency('gmodule-no-export-2.0').get_pkgconfig_variable('gmodule_supported')
if gmodule_supported == 'true'
build_dynamic_modules = true