libxl: fix build with make prior to 3.81
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.
Signed-off-by Jan Beulich <[email protected]>
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
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.
Signed-off-by Jan Beulich <[email protected]>
Acked-by Ian Jackson <[email protected]>
Committed-by Ian Jackson <[email protected]>
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.
Signed-off-by Jan Beulich <[email protected]>Acked-by Ian Jackson <[email protected]>Committed-by Ian Jackson <[email protected]>
Sorry, I was out of the office almost all day, thanks for the fix.