[Devel] [PATCH 5/6] don't compile hooks_vz.c if vz-kernel support is not enabled.

Glauber Costa glommer at parallels.com
Mon Nov 26 06:35:33 PST 2012


Signed-off-by: Glauber Costa <glommer at parallels.com>
---
 src/lib/Makefile.am | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 4502664..42a7ed6 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -40,7 +40,6 @@ libvzctl_la_SOURCES = bitmap.c \
                       dev.c \
                       dist.c \
                       env.c \
-                      hooks_vz.c \
                       exec.c \
                       fs.c \
                       fs_simfs.c \
@@ -74,5 +73,5 @@ libvzctl_la_SOURCES += cgroup.c hooks_ct.c
 endif
 
 if HAVE_VZ_KERNEL
-libvzctl_la_SOURCES += ub.c
+libvzctl_la_SOURCES += ub.c hooks_vz.c
 endif
-- 
1.7.11.7




More information about the Devel mailing list