Skip to contentSkip to conversation

libxl: fix build with make prior to 3.81

PATCH In review Jan Beulich 3 participants 3 messages Jan 12, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

tools/libxl/Makefile +3 -1
@@ -35,12 +35,14 @@ LIBXL_OBJS-$(CONFIG_IA64) += libxl_nocpu
 
 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
#2 lore raw

2012/1/12 Ian Jackson <[email protected]>:

Quoted 8 lines

Jan Beulich writes ("[Xen-devel] [PATCH] libxl: fix build with make prior to 3.81"):

Quoted 4 lines

Up to 3.80, make only supported simple 'else' constructs, which got violated by 24432:e0effa7c04f5.

Sorry, I was out of the office almost all day, thanks for the fix.