meson: fix setting of ENABLE_OOMD
-Doomd=auto (the default) didn't work as intended because the initial correct value was overwritten later by logic that didn't check for 'auto'.
This commit is contained in:
parent
d0c4275c21
commit
a881d96183
|
@ -1422,6 +1422,7 @@ else
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
conf.set10('ENABLE_OOMD', have)
|
conf.set10('ENABLE_OOMD', have)
|
||||||
|
substs.set10('ENABLE_OOMD', have)
|
||||||
|
|
||||||
want_remote = get_option('remote')
|
want_remote = get_option('remote')
|
||||||
if want_remote != 'false'
|
if want_remote != 'false'
|
||||||
|
@ -1462,7 +1463,6 @@ foreach term : ['analyze',
|
||||||
'networkd',
|
'networkd',
|
||||||
'nss-myhostname',
|
'nss-myhostname',
|
||||||
'nss-systemd',
|
'nss-systemd',
|
||||||
'oomd',
|
|
||||||
'portabled',
|
'portabled',
|
||||||
'pstore',
|
'pstore',
|
||||||
'quotacheck',
|
'quotacheck',
|
||||||
|
|
Loading…
Reference in New Issue