aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-04-14 09:45:51 +0200
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-10 18:39:06 +1000
commit9e5b1c4832e0ec392ac6df211cae18db19a2010c (patch)
tree184a6124b28b9d95957046f5d46632fff9e8cda4
parent61513888f6a546440d955a05a68004a86578746c (diff)
downloadbusybox-w32-9e5b1c4832e0ec392ac6df211cae18db19a2010c.tar.gz
busybox-w32-9e5b1c4832e0ec392ac6df211cae18db19a2010c.tar.bz2
busybox-w32-9e5b1c4832e0ec392ac6df211cae18db19a2010c.zip
Makefile: support building on Windows using MinGW compiler
-rw-r--r--Makefile.flags5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 60bb888d8..0b5eea43b 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -97,7 +97,12 @@ CFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_CFLAGS)))
97#")) 97#"))
98endif 98endif
99 99
100ifeq ($(CONFIG_PLATFORM_MINGW32),y)
101CFLAGS += -Iwin32
102EXEEXT = .exe
103else
100LDLIBS += m crypt 104LDLIBS += m crypt
105endif
101 106
102ifeq ($(CONFIG_PAM),y) 107ifeq ($(CONFIG_PAM),y)
103LDLIBS += pam pam_misc 108LDLIBS += pam pam_misc