summaryrefslogtreecommitdiff
path: root/lib-src/makefile.nt
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1997-09-03 00:19:12 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1997-09-03 00:19:12 +0000
commit90eef3d95b3d492f0324550e0cab48d9e513a1c4 (patch)
tree927b8c169a4f316277b6dae3685b84af604e4c65 /lib-src/makefile.nt
parentd234707dbbe46b56bf45cfdaa3558c35b6219d9a (diff)
downloademacs-90eef3d95b3d492f0324550e0cab48d9e513a1c4.tar.gz
(movemail.exe): Link wsock32.lib before LIBS.
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 \