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:
parent
b460142451
commit
717e0e5635
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user