]> git.sur5r.net Git - i3/i3status/blobdiff - Makefile
Add some extra paths if we're compiling on OpenBSD.
[i3/i3status] / Makefile
index 807b321f5bf5b3376a82aa887e02f00678f8959f..4e450cd620b66dd37ad66cc8c75cbf8983e9dd01 100644 (file)
--- 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