meson: add NSIS building
[qemu/kevin.git] / authz / meson.build
blob516d71f2e23c3e65f5e87197daf4e67bab4d7781
1 authz_ss = ss.source_set()
2 authz_ss.add(genh)
3 authz_ss.add(files(
4   'base.c',
5   'list.c',
6   'listfile.c',
7   'simple.c',
8 ))
10 authz_ss.add(when: ['CONFIG_AUTH_PAM', pam], if_true: files('pamacct.c'))
12 authz_ss = authz_ss.apply(config_host, strict: false)
13 libauthz = static_library('authz', authz_ss.sources() + genh,
14                           dependencies: [authz_ss.dependencies()],
15                           name_suffix: 'fa',
16                           build_by_default: false)
18 authz = declare_dependency(link_whole: libauthz,
19                            dependencies: qom)