diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-01-12 17:51:11 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-01-12 17:51:11 +0000 |
commit | bf86c81a81f56bbdb9320bf6025b336fe5f60a91 (patch) | |
tree | ed7540243819c2075cf38172dcd4b2787ce1a695 /tools/libxl/Makefile | |
parent | e46056227fa3a7319e859455fa9f10c918451e43 (diff) | |
download | xen-bf86c81a81f56bbdb9320bf6025b336fe5f60a91.tar.gz xen-bf86c81a81f56bbdb9320bf6025b336fe5f60a91.tar.bz2 xen-bf86c81a81f56bbdb9320bf6025b336fe5f60a91.zip |
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>
Diffstat (limited to 'tools/libxl/Makefile')
-rw-r--r-- | tools/libxl/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index 78bc589da8..3c3661bfdd 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -35,12 +35,14 @@ LIBXL_OBJS-$(CONFIG_IA64) += libxl_nocpuid.o 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 |