From 47915c865a0874420efcb4c624b0569d21df528e Mon Sep 17 00:00:00 2001 From: Nguyễn Thái Ngọc Duy Date: Wed, 14 Apr 2010 09:46:54 +0200 Subject: win32: Makefile: support building with network support --- Makefile.flags | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.flags b/Makefile.flags index 920fee322..7122d9bd6 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -101,6 +101,9 @@ ifeq ($(CONFIG_PLATFORM_MINGW32),y) # These defintions are not strictly needed, but they help shut up fnmatch.c warnings CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 EXEEXT = .exe +ifeq ($(CONFIG_WIN32_NET),y) +LDLIBS += ws2_32 +endif else LDLIBS += m crypt endif -- cgit v1.2.3-55-g6feb