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.build21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/pstore/meson.build b/src/pstore/meson.build
new file mode 100644
index 0000000..b6fda87
--- /dev/null
+++ b/src/pstore/meson.build
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+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',
+ install_dir : pkgconfigfiledir)
+endif