src/pstore/meson.build
raw| 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 | |
| 3 | if conf.get('ENABLE_PSTORE') != 1 |
| 4 | subdir_done() |
| 5 | endif |
| 6 | |
| 7 | executables += [ |
| 8 | libexec_template + { |
| 9 | 'name' : 'systemd-pstore', |
| 10 | 'sources' : files('pstore.c'), |
| 11 | 'dependencies' : [ |
| 12 | liblz4_cflags, |
| 13 | libxz_cflags, |
| 14 | libzstd_cflags, |
| 15 | ], |
| 16 | }, |
| 17 | ] |
| 18 | |
| 19 | if install_sysconfdir_samples |
| 20 | install_data('pstore.conf', |
| 21 | install_dir : pkgconfigfiledir) |
| 22 | endif |