summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorScott Tincman <sctincman@gmail.com>2012-11-13 20:29:55 -0500
committerMichael Stapelberg <michael@stapelberg.de>2012-11-15 12:31:17 +0100
commit0eeded8bc013857a5e8a2efbc20002a22502897e (patch)
tree340c1c11296923acbf2cc3b28c3299e8cb7730fb /Makefile
parent2f20400d7af06d1a283bf727ce7af27f68f255f5 (diff)
DragonFlyBSD support added
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index af56a19..eb7da6e 100644
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,13 @@ LDFLAGS+=-L/usr/local/lib/
LIBS+=-lossaudio
endif
+# This probably applies for any pkgsrc based system
+ifeq ($(shell uname),DragonFly)
+CFLAGS+=-I/usr/pkg/include/
+LDFLAGS+=-L/usr/pkg/lib/
+endif
+
+
CFLAGS+=$(EXTRA_CFLAGS)
# Fallback for libyajl 1 which did not include yajl_version.h. We need