diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-14 09:45:51 +0200 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-10 18:39:06 +1000 |
commit | 9e5b1c4832e0ec392ac6df211cae18db19a2010c (patch) | |
tree | 184a6124b28b9d95957046f5d46632fff9e8cda4 | |
parent | 61513888f6a546440d955a05a68004a86578746c (diff) | |
download | busybox-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.flags | 5 |
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 | #")) |
98 | endif | 98 | endif |
99 | 99 | ||
100 | ifeq ($(CONFIG_PLATFORM_MINGW32),y) | ||
101 | CFLAGS += -Iwin32 | ||
102 | EXEEXT = .exe | ||
103 | else | ||
100 | LDLIBS += m crypt | 104 | LDLIBS += m crypt |
105 | endif | ||
101 | 106 | ||
102 | ifeq ($(CONFIG_PAM),y) | 107 | ifeq ($(CONFIG_PAM),y) |
103 | LDLIBS += pam pam_misc | 108 | LDLIBS += pam pam_misc |