aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Config.in5
-rw-r--r--Makefile.flags3
2 files changed, 8 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 21c28e667..7e30b7ed6 100644
--- a/Config.in
+++ b/Config.in
@@ -23,6 +23,11 @@ config PLATFORM_MINGW32
23 23
24endchoice 24endchoice
25 25
26config WIN32_NET
27 bool "Support networking"
28 default n
29 depends on PLATFORM_MINGW32
30
26menu "Busybox Settings" 31menu "Busybox Settings"
27 32
28menu "General Configuration" 33menu "General Configuration"
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)
101# These defintions are not strictly needed, but they help shut up fnmatch.c warnings 101# These defintions are not strictly needed, but they help shut up fnmatch.c warnings
102CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 102CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0
103EXEEXT = .exe 103EXEEXT = .exe
104ifeq ($(CONFIG_WIN32_NET),y)
105LDLIBS += ws2_32
106endif
104else 107else
105LDLIBS += m crypt 108LDLIBS += m crypt
106endif 109endif