mirror of
https://github.com/qemu/qemu.git
synced 2024-11-29 23:03:41 +08:00
5e7fbd2515
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
20 lines
574 B
Meson
20 lines
574 B
Meson
authz_ss = ss.source_set()
|
|
authz_ss.add(genh)
|
|
authz_ss.add(files(
|
|
'base.c',
|
|
'list.c',
|
|
'listfile.c',
|
|
'simple.c',
|
|
))
|
|
|
|
authz_ss.add(when: ['CONFIG_AUTH_PAM', pam], if_true: files('pamacct.c'))
|
|
|
|
authz_ss = authz_ss.apply(config_host, strict: false)
|
|
libauthz = static_library('authz', authz_ss.sources() + genh,
|
|
dependencies: [authz_ss.dependencies()],
|
|
name_suffix: 'fa',
|
|
build_by_default: false)
|
|
|
|
authz = declare_dependency(link_whole: libauthz,
|
|
dependencies: qom)
|