diff options
author | Roger Pau Monne <roger.pau@entel.upc.edu> | 2012-01-31 16:48:06 +0000 |
---|---|---|
committer | Roger Pau Monne <roger.pau@entel.upc.edu> | 2012-01-31 16:48:06 +0000 |
commit | ee65792d9386e7eb538dd09674c1c275f2691abb (patch) | |
tree | 290984b181271a662155c02478b9f0ff9281f6d5 /tools/libxl/Makefile | |
parent | 1a4af67d32b1c39b73e09346203f3e12c00b9e41 (diff) | |
download | xen-ee65792d9386e7eb538dd09674c1c275f2691abb.tar.gz xen-ee65792d9386e7eb538dd09674c1c275f2691abb.tar.bz2 xen-ee65792d9386e7eb538dd09674c1c275f2691abb.zip |
libxl: add support for yajl 2.x
This patch adds support for yajl versions 2.x, while retaining 1.x
compatibility. All the needed ifdefs can be found in libxl_json.h.
Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
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, 4 insertions, 0 deletions
diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index d0b6fda277..113b7c2e50 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -19,6 +19,10 @@ ifeq ($(CONFIG_Linux),y) LIBUUID_LIBS += -luuid endif +ifeq ($(CONFIG_YAJL_VERSION),y) +CFLAGS += -DHAVE_YAJL_VERSION +endif + LIBXL_LIBS = LIBXL_LIBS = $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(LDLIBS_libxenstore) $(LDLIBS_libblktapctl) $(UTIL_LIBS) $(LIBUUID_LIBS) |