Up to 3.80, make only supported simple ''else'' constructs, which got violated by 24432:e0effa7c04f5. Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -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"):> Up to 3.80, make only supported simple ''else'' constructs, which got > violated by 24432:e0effa7c04f5. > > Signed-off-by: Jan Beulich <jbeulich@suse.com>Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Roger Pau Monné
2012-Jan-12 18:14 UTC
Re: [PATCH] libxl: fix build with make prior to 3.81
2012/1/12 Ian Jackson <Ian.Jackson@eu.citrix.com>:> Jan Beulich writes ("[Xen-devel] [PATCH] 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 <jbeulich@suse.com> > > Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> > Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>Sorry, I was out of the office almost all day, thanks for the fix.