]> git.eshelyaron.com Git - emacs.git/commitdiff
(movemail.exe): Link wsock32.lib before LIBS.
authorGeoff Voelker <voelker@cs.washington.edu>
Wed, 3 Sep 1997 00:19:12 +0000 (00:19 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Wed, 3 Sep 1997 00:19:12 +0000 (00:19 +0000)
lib-src/makefile.nt

index d1bda95ca7412018e2cc3433b817a9b66b049ad5..e0076920f67b125d100071d466409881c8012805 100644 (file)
@@ -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 \