From: Jasper Lievisse Adriaanse Date: Thu, 26 Apr 2012 17:49:48 +0000 (+0200) Subject: Add some extra paths if we're compiling on OpenBSD. X-Git-Tag: 2.5~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=af326033739f52b5787290a1af361b9a9f2b0225;p=i3%2Fi3status Add some extra paths if we're compiling on OpenBSD. --- 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