aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTushar Pankaj <tushar.s.pankaj@gmail.com>2018-11-09 20:00:37 -0600
committerTushar Pankaj <tushar.s.pankaj@gmail.com>2018-11-09 20:00:37 -0600
commitf33225d130263eea481e28269b6b01a7cf75b0c8 (patch)
tree280b3d0d521e668771ec70558c996df8ebebac04 /Makefile
parentMerge branch 'master' into tp/protocol_draft (diff)
downloadwg-dynamic-f33225d130263eea481e28269b6b01a7cf75b0c8.tar.xz
wg-dynamic-f33225d130263eea481e28269b6b01a7cf75b0c8.zip
Add pthread library
Signed-off-by: Tushar Pankaj <tushar.s.pankaj@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 34e9c8e..da2a068 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CC ?= gcc
LIBRARY_INCLUDES =
-LIBRARY_LDFLAGS = -lcapnp_c
+LIBRARY_LDFLAGS = -D_REENTRANT -lpthread -lcapnp_c
CFLAGS_DEBUG = -g -Wall -Wextra -std=gnu11 -fsanitize=address -fsanitize=leak\
-fsanitize=undefined
LDFLAGS_DEBUG = -fsanitize=address -fsanitize=leak -fsanitize=undefined