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')
|
sbindir = rootprefix / get_option('sbindir')
|
||||||
|
|
||||||
selinux_dep = dependency('libselinux', required : get_option('selinux'))
|
selinux_dep = dependency('libselinux', required : get_option('selinux'))
|
||||||
|
pam_misc_dep = []
|
||||||
if selinux_dep.found()
|
if selinux_dep.found()
|
||||||
cc_selinux_flags = '-DHAVE_SELINUX'
|
cc_selinux_flags = '-DHAVE_SELINUX'
|
||||||
if pam_dep.found() and get_option('pam')
|
if pam_dep.found() and get_option('pam')
|
||||||
@ -107,7 +108,6 @@ if selinux_dep.found()
|
|||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
cc_selinux_flags = []
|
cc_selinux_flags = []
|
||||||
pam_misc_dep = []
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
termcap = get_option('termcap')
|
termcap = get_option('termcap')
|
||||||
|
Loading…
Reference in New Issue
Block a user