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
commit4c04e61d8d2ab41d2b34ed0793515ec3076664b3 (patch)
tree09de64af6e3ebb1b72eea2543efbf138782ebacd /lib-src/makefile.nt
parent6cbaa2aaf275e1020e349c7254683900b5e63689 (diff)
downloademacs-4c04e61d8d2ab41d2b34ed0793515ec3076664b3.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 \