changeset 19693:33826686c78e

(movemail.exe): Link wsock32.lib before LIBS.
author Geoff Voelker <voelker@cs.washington.edu>
date Wed, 03 Sep 1997 00:19:12 +0000
parents 4b8ff0021dcb
children 4a0cf10c12f2
files lib-src/makefile.nt
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/makefile.nt	Tue Sep 02 23:54:07 1997 +0000
+++ b/lib-src/makefile.nt	Wed Sep 03 00:19:12 1997 +0000
@@ -72,7 +72,8 @@
 		$(GETOPTOBJS)
 
 $(BLD)\movemail.exe:	$(MOVEMAILOBJS) getopt.h
-		$(LINK) -out:$@ $(LINK_FLAGS) -debug:FULL $(MOVEMAILOBJS) $(LIBS) wsock32.lib
+# put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
+		$(LINK) -out:$@ $(LINK_FLAGS) -debug:FULL $(MOVEMAILOBJS) wsock32.lib $(LIBS)
 
 ETAGSOBJ      = $(BLD)\etags.obj \
 		$(BLD)\getopt.obj \