summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@humppa.nl>2012-04-26 19:49:48 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-04-28 10:08:30 +0200
commitaf326033739f52b5787290a1af361b9a9f2b0225 (patch)
tree24461462e03094e8df6aaa098d6ffb5addd84511
parentd4dbf2690e8d57b305a466744eee7c59451d1024 (diff)
Add some extra paths if we're compiling on OpenBSD.
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
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