Diff of /Makefile [135d6f] .. [a3ea0b]  Maximize  Restore

Switch to side-by-side view

--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,8 @@
 CFLAGS	= /W3 /MD /nologo /I. /D_WIN32_WINNT=0x400 /DHAVE_CONFIG_H
 CFLAGSD	= /Zi $(CFLAGS)
 
+# Uncomment this if config.h defines RETAIN_WSALASTERROR
+#XLIBS = wsock32.lib
 
 # Default cleanup style
 CLEANUP	= __CLEANUP_C
@@ -57,6 +59,7 @@
 		condvar.obj \
 		create.obj \
 		dll.obj \
+		autostatic.obj \
 		errno.obj \
 		exit.obj \
 		fork.obj \
@@ -114,6 +117,7 @@
 		pthread_cond_wait.obj \
 		create.obj \
 		dll.obj \
+		autostatic.obj \
 		errno.obj \
 		pthread_exit.obj \
 		fork.obj \
@@ -466,12 +470,12 @@
 $(DLLS): $(DLL_OBJS)
 	cl /LDd /Zi /nologo $(DLL_OBJS) \
 		/link /nodefaultlib:libcmt /implib:$*.lib \
-		msvcrt.lib wsock32.lib /out:$@
+		msvcrt.lib ${XLIBS} /out:$@
 
 $(INLINED_STAMPS): $(DLL_INLINED_OBJS)
 	cl /LDd /Zi /nologo $(DLL_INLINED_OBJS) \
 		/link /nodefaultlib:libcmt /implib:$*.lib \
-		msvcrt.lib wsock32.lib /out:$*.dll
+		msvcrt.lib ${XLIBS} /out:$*.dll
 
 $(STATIC_STAMPS): $(DLL_INLINED_OBJS)
 	if exist $*.lib del $*.lib

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks