summaryrefslogtreecommitdiffstats
path: root/src/dissect/meson.build
blob: e422dbdd27b22d591602b5f1153426447e3ccf1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# SPDX-License-Identifier: LGPL-2.1-or-later

executables += [
        executable_template + {
                'name' : 'systemd-dissect',
                'public' : true,
                'conditions' : ['HAVE_BLKID'],
                'sources' : files('dissect.c'),
        },
]

if conf.get('HAVE_BLKID') == 1
        install_emptydir(sbindir)
        meson.add_install_script(sh, '-c',
                                 ln_s.format(bindir / 'systemd-dissect',
                                             sbindir / 'mount.ddi'))
endif