]> git.sur5r.net Git - i3/i3status/commitdiff
Add some extra paths if we're compiling on OpenBSD.
authorJasper Lievisse Adriaanse <jasper@humppa.nl>
Thu, 26 Apr 2012 17:49:48 +0000 (19:49 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 28 Apr 2012 08:08:30 +0000 (10:08 +0200)
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