build,meson: Fix suspend/resume option

The suspend/resume option does not build properly if journal option
is disabled. This is beacause the journal option is check to add
suspend/resume code.

It has been fixed by replacing journal option check by the
suspend/resume option.
This commit is contained in:
Iñigo Martínez
2021-09-09 14:16:43 +02:00
committed by Aleksander Morgado
parent 39912daa11
commit ab805e0914

View File

@@ -257,7 +257,7 @@ if enable_qrtr
endif
# Additional suspend/resume support via systemd
if enable_systemd_journal
if enable_systemd_suspend_resume
sources += files('mm-sleep-monitor.c')
deps += [