meson: fix pam_misc_dep definition
X-Gentoo-Bug: 824954 X-Gentoo-Bug-URL: https://bugs.gentoo.org/824954 Fixes: https://github.com/OpenRC/openrc/issues/470 Fixes: https://github.com/OpenRC/openrc/pull/477
This commit is contained in:
parent
015c83761d
commit
bd5cdaafad
@ -94,6 +94,7 @@ rc_sbindir = rc_libexecdir / 'sbin'
|
||||
sbindir = rootprefix / get_option('sbindir')
|
||||
|
||||
selinux_dep = dependency('libselinux', required : get_option('selinux'))
|
||||
pam_misc_dep = []
|
||||
if selinux_dep.found()
|
||||
cc_selinux_flags = '-DHAVE_SELINUX'
|
||||
if pam_dep.found() and get_option('pam')
|
||||
@ -107,7 +108,6 @@ if selinux_dep.found()
|
||||
endif
|
||||
else
|
||||
cc_selinux_flags = []
|
||||
pam_misc_dep = []
|
||||
endif
|
||||
|
||||
termcap = get_option('termcap')
|
||||
|
Loading…
Reference in New Issue
Block a user