summaryrefslogtreecommitdiffstats
path: root/src/sysusers/meson.build
blob: 403d82a3405e49f056c42250ef51c78998bebecb (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
# 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_static,
                        libshared_static,
                        libsystemd_static,
                ],
                'build_by_default' : have_standalone_binaries,
                'install' : have_standalone_binaries,
        },
]