changeset 74462:c51ebd5b2866

($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe): Use $(USER32) for compatibility with Visual Studio .NET 2003.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 06 Dec 2006 15:27:10 +0000
parents 481b951687b3
children 807f5f0914e7
files lib-src/makefile.w32-in
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/makefile.w32-in	Wed Dec 06 11:16:44 2006 +0000
+++ b/lib-src/makefile.w32-in	Wed Dec 06 15:27:10 2006 +0000
@@ -82,11 +82,11 @@
 
 $(BLD)/emacsclient.exe:		$(ECLIENTOBJS)
 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
-		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(LIBS)
+		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(LIBS)
 
 $(BLD)/emacsclientw.exe:	$(ECLIENTOBJS) $(TRES)
 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
-		$(LINK) $(LINK_OUT)$@ $(TRES) -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(LIBS)
+		$(LINK) $(LINK_OUT)$@ $(TRES) -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(LIBS)
 
 # emacsclient.$(O) depends on makefile.w32-in because makefile.w32-in
 # can be edited to define VERSION string, which is part of ECLIENT_CFLAGS.