mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
meson: src: define secdriver_dep
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
bd625844ca
commit
e5aca34f01
@ -106,18 +106,6 @@ include storage/Makefile.inc.am
|
||||
include remote/Makefile.inc.am
|
||||
|
||||
|
||||
SECDRIVER_CFLAGS =
|
||||
SECDRIVER_LIBS =
|
||||
if WITH_SECDRIVER_SELINUX
|
||||
SECDRIVER_CFLAGS += $(SELINUX_CFLAGS)
|
||||
SECDRIVER_LIBS += $(SELINUX_LIBS)
|
||||
endif WITH_SECDRIVER_SELINUX
|
||||
if WITH_SECDRIVER_APPARMOR
|
||||
SECDRIVER_CFLAGS += $(APPARMOR_CFLAGS)
|
||||
SECDRIVER_LIBS += $(APPARMOR_LIBS)
|
||||
endif WITH_SECDRIVER_APPARMOR
|
||||
|
||||
|
||||
moddir = $(libdir)/libvirt/connection-driver
|
||||
|
||||
confdir = $(sysconfdir)/libvirt
|
||||
|
@ -23,3 +23,14 @@ src_dep = declare_dependency(
|
||||
+ win32_link_flags
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
# define secdriver_dep
|
||||
|
||||
secdriver_dep = []
|
||||
if conf.has('WITH_SECDRIVER_SELINUX')
|
||||
secdriver_dep += selinux_dep
|
||||
endif
|
||||
if conf.has('WITH_SECDRIVER_APPARMOR')
|
||||
secdriver_dep += apparmor_dep
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user