summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWatcom Hecht <watcom.hecht@gmail.com>2016-01-12 11:35:02 -0200
committerWatcom Hecht <watcom.hecht@gmail.com>2016-01-12 11:46:42 -0200
commitdd75c260f86ed13c1937cd9369948cdbe8e25d12 (patch)
tree06f797b140d2d0f71babc04a145d668e95bf8504 /Makefile
parentfad9c8237c63290aa9adde5ba6ffa6759f578645 (diff)
revert back to using nanosleep
Fixes #93
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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