[gnome-settings-daemon/abderrahim/jhbuild] plugins: only mask old target names on debug builds
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/abderrahim/jhbuild] plugins: only mask old target names on debug builds
- Date: Fri, 31 Jul 2020 20:33:58 +0000 (UTC)
commit 0d93fef0cb3dc19b43e54d4fdbb978f8ce687a2e
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Fri Jul 31 21:33:33 2020 +0100
plugins: only mask old target names on debug builds
This shouldn't be enabled on distro builds which should use plain buildtype
plugins/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]