build: add missing libs required to compile under MinGW
GetProcessMemoryInfo is in psapi and GetAdaptersAddresses is in iphlpapi
This commit is contained in:
parent
a93dc7ef11
commit
5110465c42
@ -34,7 +34,7 @@ WIN_OBJS=$(WIN_SRCS:.c=.o)
|
|||||||
|
|
||||||
RUNNER_CFLAGS=$(CFLAGS) -D_GNU_SOURCE # Need _GNU_SOURCE for strdup?
|
RUNNER_CFLAGS=$(CFLAGS) -D_GNU_SOURCE # Need _GNU_SOURCE for strdup?
|
||||||
RUNNER_LINKFLAGS=$(LINKFLAGS)
|
RUNNER_LINKFLAGS=$(LINKFLAGS)
|
||||||
RUNNER_LIBS=-lws2_32
|
RUNNER_LIBS=-lws2_32 -lpsapi -liphlpapi
|
||||||
RUNNER_SRC=test/runner-win.c
|
RUNNER_SRC=test/runner-win.c
|
||||||
|
|
||||||
uv.a: $(WIN_OBJS) src/uv-common.o $(CARES_OBJS)
|
uv.a: $(WIN_OBJS) src/uv-common.o $(CARES_OBJS)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user