From af326033739f52b5787290a1af361b9a9f2b0225 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Thu, 26 Apr 2012 19:49:48 +0200 Subject: [PATCH] Add some extra paths if we're compiling on OpenBSD. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 807b321..4e450cd 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,11 @@ ifeq ($(shell uname),GNU/kFreeBSD) LIBS+=-lbsd endif +ifeq ($(shell uname),OpenBSD) +CFLAGS+=-I/usr/local/include/ +LDFLAGS+=-L/usr/local/lib/ +endif + CFLAGS+=$(EXTRA_CFLAGS) # Fallback for libyajl 1 which did not include yajl_version.h. We need -- 2.39.2