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