From 90eef3d95b3d492f0324550e0cab48d9e513a1c4 Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Wed, 3 Sep 1997 00:19:12 +0000 Subject: [PATCH] (movemail.exe): Link wsock32.lib before LIBS. --- lib-src/makefile.nt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \ -- 2.39.2