Permalink
Browse files

build: add missing libs required to compile under MinGW

GetProcessMemoryInfo is in psapi and
GetAdaptersAddresses is in iphlpapi
  • Loading branch information...
luislavena authored and bnoordhuis committed Mar 2, 2012
1 parent a93dc7e commit 5110465c42a4f0f40dc88ecb9bb7c6a3dd4753b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 config-mingw.mk
View
@@ -34,7 +34,7 @@ WIN_OBJS=$(WIN_SRCS:.c=.o)
RUNNER_CFLAGS=$(CFLAGS) -D_GNU_SOURCE # Need _GNU_SOURCE for strdup?
RUNNER_LINKFLAGS=$(LINKFLAGS)
-RUNNER_LIBS=-lws2_32
+RUNNER_LIBS=-lws2_32 -lpsapi -liphlpapi
RUNNER_SRC=test/runner-win.c
uv.a: $(WIN_OBJS) src/uv-common.o $(CARES_OBJS)

0 comments on commit 5110465

Please sign in to comment.