build: use -pthread on sunos

When building on sunos with autoconf make sure to specify -pthread
otherwise there will be race conditions with errno and etc
This commit is contained in:
Timothy J Fontaine 2013-09-20 10:50:19 -07:00
parent b460142451
commit 717e0e5635

View File

@ -31,6 +31,10 @@ libuv_la_SOURCES = src/fs-poll.c \
src/uv-common.h \
src/version.c
if SUNOS
libuv_la_CFLAGS += -pthread
endif
if WINNT
include_HEADERS += include/uv-win.h include/tree.h