[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: fix build with make prior to 3.81



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1326390671 0
# Node ID c5eadfd5c639a494b58cf6c0675b8f78412bcf43
# Parent  94b5fb649d94451fa06352d240f4cf8fe37f9631
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@xxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 94b5fb649d94 -r c5eadfd5c639 tools/libxl/Makefile
--- a/tools/libxl/Makefile      Thu Jan 12 16:45:21 2012 +0000
+++ b/tools/libxl/Makefile      Thu Jan 12 17:51:11 2012 +0000
@@ -35,12 +35,14 @@
 
 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
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.