mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
lxc: Fix build with AppArmor
This commit is contained in:
parent
d166cf76b0
commit
b24ed37fff
@ -1526,6 +1526,9 @@ endif
|
||||
if WITH_SECDRIVER_SELINUX
|
||||
libvirt_lxc_LDADD += $(SELINUX_LIBS)
|
||||
endif
|
||||
if WITH_SECDRIVER_APPARMOR
|
||||
libvirt_lxc_LDADD += $(APPARMOR_LIBS)
|
||||
endif
|
||||
libvirt_lxc_CFLAGS = \
|
||||
$(LIBPARTED_CFLAGS) \
|
||||
$(NUMACTL_CFLAGS) \
|
||||
@ -1541,6 +1544,9 @@ endif
|
||||
if WITH_SECDRIVER_SELINUX
|
||||
libvirt_lxc_CFLAGS += $(SELINUX_CFLAGS)
|
||||
endif
|
||||
if WITH_SECDRIVER_APPARMOR
|
||||
libvirt_lxc_CFLAGS += $(APPARMOR_CFLAGS)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
EXTRA_DIST += $(LXC_CONTROLLER_SOURCES)
|
||||
|
Loading…
Reference in New Issue
Block a user