summaryrefslogtreecommitdiffstats
path: root/src/pstore/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/pstore/meson.build')
-rw-r--r--src/pstore/meson.build15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/pstore/meson.build b/src/pstore/meson.build
index 76b656a4b8..122ba2ee3e 100644
--- a/src/pstore/meson.build
+++ b/src/pstore/meson.build
@@ -1,6 +1,19 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
-systemd_pstore_sources = files('pstore.c')
+executables += [
+ libexec_template + {
+ 'name' : 'systemd-pstore',
+ 'conditions' : ['ENABLE_PSTORE'],
+ 'sources' : files('pstore.c'),
+ 'dependencies' : [
+ libacl,
+ liblz4,
+ libxz,
+ libzstd,
+ threads,
+ ],
+ },
+]
if conf.get('ENABLE_PSTORE') == 1 and install_sysconfdir_samples
install_data('pstore.conf',