summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>2018-07-14 20:22:55 +0000
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>2018-07-14 20:23:22 +0000
commitdeca11c0a0f619c3df8c1bb240935b4e38867260 (patch)
treeab0f1b0d18581788a0351e9db9a013afae34f9fb /Makefile
parentfc9da67e65819cb14071db4fd5b7941ab01a1134 (diff)
Do not use pulseaudio for DragonFly BSD
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c5427b9..904b3d0 100644
--- a/Makefile
+++ b/Makefile
@@ -85,6 +85,11 @@ OBJS:=$(filter-out src/pulse.o, $(OBJS))
LIBS:=$(filter-out -lpulse, $(LIBS))
endif
+ifeq ($(OS),DragonFly)
+OBJS:=$(filter-out src/pulse.o, $(OBJS))
+LIBS:=$(filter-out -lpulse, $(LIBS)) -lpthread
+endif
+
src/%.o: src/%.c include/i3status.h
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
@echo " CC $<"