meson: disable rc-local-generator when an empty string is specified to rc-local= meson option

In such case, the generator is meaningless. Let's kill it.
This commit is contained in:
Yu Watanabe
2025-04-03 00:18:48 +09:00
parent b0c9ba4eb1
commit 74f25ea7a9
5 changed files with 13 additions and 5 deletions
+4 -1
View File
@@ -3,7 +3,10 @@
executables += [
generator_template + {
'name' : 'systemd-rc-local-generator',
'conditions' : ['HAVE_SYSV_COMPAT'],
'sources' : files('rc-local-generator.c'),
'conditions' : [
'HAVE_SYSV_COMPAT',
'HAVE_SYSV_RC_LOCAL',
],
},
]