From fcaa9c7e96ae1fdca8beef9d8097dcebcae83b7a 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nguyễn Thái Ngọc Duy --- Makefile.flags | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.flags b/Makefile.flags index 920fee322..ea825d333 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_MING32_NET),y) +LDLIBS += ws2_32 +endif else LDLIBS += m crypt endif -- cgit v1.2.3-55-g6feb