mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
Fix building error under mingw
This commit is contained in:
parent
f24bebaca8
commit
fe7c245a6b
4
Makefile
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user