Fix windows build

This commit is contained in:
Yasuhiro Matsumoto
2016-03-16 00:37:23 +09:00
parent 38699e3a81
commit 8c79501738
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -103,9 +103,13 @@ else
SHARED_LIB_FLAGS := -Wl,-soname,$@.so
SHARED_EXT := so
ifeq ($(OS),mingw32)
LIBUV_LIBS := -lws2_32 -liphlpapi -lpsapi -luserenv
else
# On Linux we need to explicitly link to these for libuv.
LIBUV_LIBS := -lpthread -lrt
endif
endif
CFLAGS := $(C_OPTIONS) $(C_WARNINGS)