提交 b24ed37f 编写于 作者: J Jiri Denemark

lxc: Fix build with AppArmor

上级 d166cf76
...@@ -1526,6 +1526,9 @@ endif ...@@ -1526,6 +1526,9 @@ endif
if WITH_SECDRIVER_SELINUX if WITH_SECDRIVER_SELINUX
libvirt_lxc_LDADD += $(SELINUX_LIBS) libvirt_lxc_LDADD += $(SELINUX_LIBS)
endif endif
if WITH_SECDRIVER_APPARMOR
libvirt_lxc_LDADD += $(APPARMOR_LIBS)
endif
libvirt_lxc_CFLAGS = \ libvirt_lxc_CFLAGS = \
$(LIBPARTED_CFLAGS) \ $(LIBPARTED_CFLAGS) \
$(NUMACTL_CFLAGS) \ $(NUMACTL_CFLAGS) \
...@@ -1541,6 +1544,9 @@ endif ...@@ -1541,6 +1544,9 @@ endif
if WITH_SECDRIVER_SELINUX if WITH_SECDRIVER_SELINUX
libvirt_lxc_CFLAGS += $(SELINUX_CFLAGS) libvirt_lxc_CFLAGS += $(SELINUX_CFLAGS)
endif endif
if WITH_SECDRIVER_APPARMOR
libvirt_lxc_CFLAGS += $(APPARMOR_CFLAGS)
endif
endif endif
endif endif
EXTRA_DIST += $(LXC_CONTROLLER_SOURCES) EXTRA_DIST += $(LXC_CONTROLLER_SOURCES)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册