Commit 53dde04b authored by valenok's avatar valenok

windows build: removed gui libs from DLL build

parent e728c858
...@@ -56,8 +56,9 @@ CYA= y: ...@@ -56,8 +56,9 @@ CYA= y:
#DBG= /Zi /DDEBUG /Od #DBG= /Zi /DDEBUG /Od
DBG= /DNDEBUG /O1 DBG= /DNDEBUG /O1
CL= cl /MD /TC /nologo $(DBG) /Gz /W3 # /DNO_SSL_DL CL= cl /MD /TC /nologo $(DBG) /Gz /W3 # /DNO_SSL_DL
GUILIB= advapi32.lib user32.lib shell32.lib
LINK= /link /incremental:no /libpath:$(VC)\lib /subsystem:windows \ LINK= /link /incremental:no /libpath:$(VC)\lib /subsystem:windows \
ws2_32.lib advapi32.lib user32.lib shell32.lib # cyassl.lib crypt32.lib ws2_32.lib # cyassl.lib crypt32.lib
CYAFL= /c /I $(CYA)\ctaocrypt\include /I $(CYA)\include /D_LIB CYAFL= /c /I $(CYA)\ctaocrypt\include /I $(CYA)\include /D_LIB
...@@ -91,9 +92,8 @@ cyassl: ...@@ -91,9 +92,8 @@ cyassl:
lib *.obj /out:cyassl.lib lib *.obj /out:cyassl.lib
windows: windows:
$(CL) main.c mongoose.c /GD $(LINK) /DLL /DEF:win32\dll.def \ $(CL) mongoose.c /GD $(LINK) /DLL /DEF:win32\dll.def /out:_$(PROG).dll
/out:_$(PROG).dll $(CL) main.c mongoose.c /GA $(LINK) $(GUILIB) /out:$(PROG).exe
$(CL) main.c mongoose.c /GA $(LINK) /out:$(PROG).exe
# Build for Windows under MinGW # Build for Windows under MinGW
#MINGWDBG= -DDEBUG -O0 #MINGWDBG= -DDEBUG -O0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment