From 1b3aa404858b476015a2b29d0c42f7dbbed915bc Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 8 Apr 2012 14:05:47 +0200 Subject: add yajl compat code --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index da42640..807b321 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,10 @@ endif CFLAGS+=$(EXTRA_CFLAGS) +# Fallback for libyajl 1 which did not include yajl_version.h. We need +# YAJL_MAJOR from that file to decide which code path should be used. +CFLAGS += -idirafter $(TOPDIR)/yajl-fallback + OBJS:=$(wildcard src/*.c *.c) OBJS:=$(OBJS:.c=.o) -- cgit v1.2.3