From: Geoff Voelker Date: Wed, 3 Sep 1997 00:19:12 +0000 (+0000) Subject: (movemail.exe): Link wsock32.lib before LIBS. X-Git-Tag: emacs-20.1~255 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=90eef3d95b3d492f0324550e0cab48d9e513a1c4;p=emacs.git (movemail.exe): Link wsock32.lib before LIBS. --- diff --git a/lib-src/makefile.nt b/lib-src/makefile.nt index d1bda95ca74..e0076920f67 100644 --- a/lib-src/makefile.nt +++ b/lib-src/makefile.nt @@ -72,7 +72,8 @@ MOVEMAILOBJS = $(BLD)\movemail.obj \ $(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 \