From: "Jan Beulich" Subject: [PATCH] libxl: fix build with make prior to 3.81 Date: Thu, 12 Jan 2012 12:26:06 +0000 Message-ID: <4F0EDF6E020000780006C14F@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" Cc: Roger Pau Monne List-Id: xen-devel@lists.xenproject.org Up to 3.80, make only supported simple 'else' constructs, which got violated by 24432:e0effa7c04f5. Signed-off-by: Jan Beulich --- 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