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:

committed by
Aleksander Morgado

parent
39912daa11
commit
ab805e0914
@@ -257,7 +257,7 @@ if enable_qrtr
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Additional suspend/resume support via systemd
|
# Additional suspend/resume support via systemd
|
||||||
if enable_systemd_journal
|
if enable_systemd_suspend_resume
|
||||||
sources += files('mm-sleep-monitor.c')
|
sources += files('mm-sleep-monitor.c')
|
||||||
|
|
||||||
deps += [
|
deps += [
|
||||||
|
Reference in New Issue
Block a user