From dd75c260f86ed13c1937cd9369948cdbe8e25d12 Mon Sep 17 00:00:00 2001 From: Watcom Hecht Date: Tue, 12 Jan 2016 11:35:02 -0200 Subject: revert back to using nanosleep Fixes #93 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f0b1e19..31bfc6f 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,7 @@ LIBS+=-lconfuse LIBS+=-lyajl LIBS+=-lpulse LIBS+=-lm +LIBS+=-lpthread VERSION:=$(shell git describe --tags --abbrev=0) GIT_VERSION:="$(shell git describe --tags --always) ($(shell git log --pretty=format:%cd --date=short -n1))" @@ -72,7 +73,7 @@ OBJS:=$(OBJS:.c=.o) ifeq ($(OS),OpenBSD) OBJS:=$(filter-out src/pulse.o, $(OBJS)) -LIBS:=$(filter-out -lpulse, $(LIBS)) -lpthread +LIBS:=$(filter-out -lpulse, $(LIBS)) endif src/%.o: src/%.c include/i3status.h -- cgit v1.2.3