From 707636bf3c6f0b8b14bf5a365b21ee376abf9993 Mon Sep 17 00:00:00 2001 From: Nicolas Favre-Felix Date: Sat, 20 Aug 2011 12:59:47 +0100 Subject: [PATCH] Fixed msgpack dependency (GitHub issue #30) --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 876271d..2f8cc1d 100644 --- a/Makefile +++ b/Makefile @@ -8,13 +8,11 @@ CFLAGS=-O3 -Wall -Wextra -I. -Ijansson/src -Ihttp-parser LDFLAGS=-levent -pthread # check for MessagePack -MSGPACK_LIB=$(shell ls /usr/lib/libmsgpack.so) +MSGPACK_LIB=$(shell ls /usr/lib/libmsgpack.so 2>/dev/null) ifneq ($(strip $(MSGPACK_LIB)),) FORMAT_OBJS += formats/msgpack.o CFLAGS += -DMSGPACK=1 LDFLAGS += -lmsgpack -else - CFLAGS += -DMSGPACK=0 endif