[gnome-packagekit: 1/2] build: Add HAVE_SYSTEMD macro if systemd if found
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit: 1/2] build: Add HAVE_SYSTEMD macro if systemd if found
- Date: Wed, 20 Jan 2021 10:06:10 +0000 (UTC)
commit b73a6f966524cbd646699fcbe60f2c2d5c22f468
Author: Jonathan Kang <jonathankang gnome org>
Date: Tue Jan 19 11:21:48 2021 +0800
build: Add HAVE_SYSTEMD macro if systemd if found
meson.build | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index 1f357712..3e528b25 100644
--- a/meson.build
+++ b/meson.build
@@ -86,6 +86,7 @@ libm = cc.find_library('libm', required: false)
if get_option('systemd')
systemd = dependency('libsystemd')
+ conf.set('HAVE_SYSTEMD', 1)
polkit = dependency('polkit-gobject-1')
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]