summaryrefslogtreecommitdiff
path: root/lib-src/makefile.nt
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/makefile.nt')
-rw-r--r--lib-src/makefile.nt3
1 files changed, 2 insertions, 1 deletions
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 \