summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2021-09-09 14:16:43 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-09-10 08:39:37 +0000
commitab805e09148ce41f5004d2552b263e41ae34735f (patch)
treea5b8709c8af9ddc420cfeae9bcff329e85755e8a
parent39912daa11491167cca9298a170210980626cd34 (diff)
downloadModemManager-ab805e09148ce41f5004d2552b263e41ae34735f.tar.gz
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.
-rw-r--r--src/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build
index 7e9ab9009..a01c4d777 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -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 += [