From bf86c81a81f56bbdb9320bf6025b336fe5f60a91 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 12 Jan 2012 17:51:11 +0000 Subject: libxl: fix build with make prior to 3.81 Up to 3.80, make only supported simple 'else' constructs, which got violated by 24432:e0effa7c04f5. Signed-off-by: Jan Beulich Acked-by: Ian Jackson Committed-by: Ian Jackson --- tools/libxl/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/libxl/Makefile') diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index 78bc589da8..3c3661bfdd 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -35,12 +35,14 @@ LIBXL_OBJS-$(CONFIG_IA64) += libxl_nocpuid.o ifeq ($(CONFIG_NetBSD),y) LIBXL_OBJS-y += libxl_netbsd.o -else ifeq ($(CONFIG_Linux),y) +else +ifeq ($(CONFIG_Linux),y) LIBXL_OBJS-y += libxl_linux.o else $(error Your Operating System is not supported by libxenlight, \ please check libxl_linux.c and libxl_netbsd.c to see how to get it ported) endif +endif LIBXL_LIBS += -lyajl -- cgit v1.2.3