diff options
-rw-r--r-- | Config.in | 5 | ||||
-rw-r--r-- | Makefile.flags | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -23,6 +23,11 @@ config PLATFORM_MINGW32 | |||
23 | 23 | ||
24 | endchoice | 24 | endchoice |
25 | 25 | ||
26 | config WIN32_NET | ||
27 | bool "Support networking" | ||
28 | default n | ||
29 | depends on PLATFORM_MINGW32 | ||
30 | |||
26 | menu "Busybox Settings" | 31 | menu "Busybox Settings" |
27 | 32 | ||
28 | menu "General Configuration" | 33 | menu "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 |
102 | CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 | 102 | CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 |
103 | EXEEXT = .exe | 103 | EXEEXT = .exe |
104 | ifeq ($(CONFIG_WIN32_NET),y) | ||
105 | LDLIBS += ws2_32 | ||
106 | endif | ||
104 | else | 107 | else |
105 | LDLIBS += m crypt | 108 | LDLIBS += m crypt |
106 | endif | 109 | endif |