From 24e0950ca2d43e4798fb4630bbda29786c611dcf Mon Sep 17 00:00:00 2001
From: Sergey Lyubka <valenok@gmail.com>
Date: Thu, 26 Sep 2013 12:49:41 +0100
Subject: [PATCH] Using stdcall for mongoose.dll

---
 build/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/Makefile b/build/Makefile
index 646bec496..fa61ee011 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -84,7 +84,7 @@ $(PROG)-tiny.exe: $(TINY_SOURCES)
 	$(CL) $(TINY_SOURCES) /link $(LINK_FLAGS) res.res /out:$@
 
 $(PROG).dll: $(TINY_SOURCES) Makefile
-	$(CL) ../mongoose.c /GD /Gd /link $(LINK_FLAGS) /DLL /DEF:dll.def /out:$@
+	$(CL) ../mongoose.c /Gz /link $(LINK_FLAGS) /DLL /DEF:dll.def /out:$@
 
 # This is broken now due to SSL exclusion
 windows_unit_test.exe: $(LUA_SOURCES) Makefile
-- 
GitLab