From fe7c245a6b65d8ff284b8b639a13a18409dcf5ad Mon Sep 17 00:00:00 2001 From: Rogerz Zhang Date: Fri, 18 Jan 2013 21:22:44 +0800 Subject: [PATCH] Fix building error under mingw --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 571193f1..5170ddcb 100644 --- a/Makefile +++ b/Makefile @@ -124,8 +124,8 @@ mingw: windres build\res.rc build\res.o $(CC) $(MINGWOPT) mongoose.c -lws2_32 \ -shared -Wl,--out-implib=$(PROG).lib -o $(PROG).dll - $(CC) $(MINGWOPT) -build mongoose.c main.c build\res.o \ - -lws2_32 -ladvapi32 -o $(PROG).exe + $(CC) $(MINGWOPT) mongoose.c main.c build\res.o \ + -lws2_32 -ladvapi32 -lcomdlg32 -o $(PROG).exe # Build for Windows under Cygwin #CYGWINDBG= -DDEBUG -O0 -ggdb