mirror of
https://github.com/systemd/systemd.git
synced 2026-07-14 11:30:45 +00:00
Our variables for internal libraries are named 'libfoo' for the shared lib variant, and 'libfoo_static' for the static lib variant. The only exception was libbasic, because we didn't have a shared variant for it. But let's rename it for consitency. This makes the build config easier to understand.
25 lines
877 B
Meson
25 lines
877 B
Meson
# 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,
|
|
},
|
|
]
|