summaryrefslogtreecommitdiffstats
path: root/src/sysusers/meson.build
blob: fcb291d02c2e918c1474d8c8f6f1f61b5a0ff137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# SPDX-License-Identifier: LGPL-2.1-or-later

executables += [
        executable_template + {
                'name' : 'systemd-sysusers',
                'public' : true,
                'conditions' : ['ENABLE_SYSUSERS'],
                'sources' : files('sysusers.c'),
        },
        executable_template + {
                'name' : 'systemd-sysusers.standalone',
                'public' : have_standalone_binaries,
                'conditions' : ['ENABLE_SYSUSERS'],
                'sources' : files('sysusers.c'),
                'c_args' : '-DSTANDALONE',
                'link_with' : [
                        libbasic,
                        libbasic_gcrypt,
                        libshared_static,
                        libsystemd_static,
                ],
                'build_by_default' : have_standalone_binaries,
                'install' : have_standalone_binaries,
        },
]