From 7e8c551af09c42b1086ab974155bb8c4f2e39590 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Thu, 7 Mar 2013 00:16:32 +0000 Subject: Try to fix the "LNK4217: locally defined symbol" warnings. svn path=/trunk/; revision=48158 --- Makefile.nmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.nmake') diff --git a/Makefile.nmake b/Makefile.nmake index a6831a9374..24b065714e 100644 --- a/Makefile.nmake +++ b/Makefile.nmake @@ -327,7 +327,7 @@ rawshark.exe : $(LIBS_CHECK) config.h $(rawshark_OBJECTS) epan ui image\rawshark # (e.g. epan\plugins.obj) must be built first using epan\Makefile.nmake (which happens for 'nmake ... all'). # Linking with setargv.obj enables "wildcard expansion" of command-line arguments capinfos.obj : - $(CC) $(CFLAGS) -Fd.\ -c capinfos.c + $(CC) $(CFLAGS) -DENABLE_STATIC -Fd.\ -c capinfos.c capinfos.exe : $(LIBS_CHECK) config.h $(capinfos_OBJECTS) wsutil\libwsutil.lib wiretap\wiretap-$(WTAP_VERSION).lib image\capinfos.res @echo Linking $@ $(LINK) @<< @@ -340,7 +340,7 @@ capinfos.exe : $(LIBS_CHECK) config.h $(capinfos_OBJECTS) wsutil\libwsutil.lib w # XXX: This makefile does not properly handle doing a 'nmake ... editcap.exe' directly since some of the .objs # (e.g. epan\plugins.obj) must be built first using epan\Makefile.nmake (which happens for 'nmake ... all'). editcap.obj : - $(CC) $(CFLAGS) -Fd.\ -c editcap.c + $(CC) $(CFLAGS) -DENABLE_STATIC -Fd.\ -c editcap.c editcap.exe : $(LIBS_CHECK) config.h $(editcap_OBJECTS) wsutil\libwsutil.lib wiretap\wiretap-$(WTAP_VERSION).lib image\editcap.res @echo Linking $@ $(LINK) @<< -- cgit v1.2.1