diff options
author | Abderrahim Kitouni <akitouni@gnome.org> | 2020-07-31 21:33:33 +0100 |
---|---|---|
committer | Abderrahim Kitouni <akitouni@gnome.org> | 2020-07-31 21:33:33 +0100 |
commit | 0d93fef0cb3dc19b43e54d4fdbb978f8ce687a2e (patch) | |
tree | f280e588d3cb0aaac4303af465bc23e9bf637e90 | |
parent | 4432493fd4662e263737cd735123a53752b78657 (diff) | |
download | gnome-settings-daemon-0d93fef0cb3dc19b43e54d4fdbb978f8ce687a2e.tar.gz |
plugins: only mask old target names on debug builds
This shouldn't be enabled on distro builds which should use plain buildtype
-rw-r--r-- | plugins/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/meson.build b/plugins/meson.build index ba34f70d..3f8000eb 100644 --- a/plugins/meson.build +++ b/plugins/meson.build @@ -169,7 +169,8 @@ foreach plugin: all_plugins # of pain when running a new g-s-d inside jhbuild on an old host # TODO: Should be deleted once we can assume developers have 3.38 # installed on their machines. - if get_option('buildtype') != 'release' + # FIXME: find a better way to detect jhbuild + if get_option('buildtype') in ['debug', 'debugoptimized'] meson.add_install_script('ln', '-vfs', '/dev/null', systemd_userunitdir / 'gsd-@0@.target'.format(plugin_name)) endif |