aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 513b6ebb2..b653d55c1 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -99,13 +99,18 @@ endif
99 99
100ifeq ($(CONFIG_PLATFORM_MINGW32),y) 100ifeq ($(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 -fno-builtin-stpcpy
103EXEEXT = .exe 103EXEEXT = .exe
104ifeq ($(CONFIG_WIN32_NET),y) 104ifeq ($(CONFIG_WIN32_NET),y)
105LDLIBS += ws2_32 105LDLIBS += ws2_32
106endif 106endif
107else 107else
108ifneq ($(CONFIG_CROSS_COMPILER_PREFIX),"arm-linux-androideabi-")
108LDLIBS += m crypt 109LDLIBS += m crypt
110else
111# Android libc has no crypt. TODO: make a generic CONFIG_LINK_WITH_CRYPT option?
112LDLIBS += m
113endif
109endif 114endif
110 115
111ifeq ($(CONFIG_PAM),y) 116ifeq ($(CONFIG_PAM),y)