summaryrefslogtreecommitdiff
path: root/Makefile.nmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-03-07 00:16:32 +0000
committerGerald Combs <gerald@wireshark.org>2013-03-07 00:16:32 +0000
commit7e8c551af09c42b1086ab974155bb8c4f2e39590 (patch)
tree3391806587e2ecd694d20e94d9e331a16b398508 /Makefile.nmake
parented0d98832350ffeb1c68cf6d8f3d8cc0d2c64bb1 (diff)
downloadwireshark-7e8c551af09c42b1086ab974155bb8c4f2e39590.tar.gz
Try to fix the "LNK4217: locally defined symbol" warnings.
svn path=/trunk/; revision=48158
Diffstat (limited to 'Makefile.nmake')
-rw-r--r--Makefile.nmake4
1 files changed, 2 insertions, 2 deletions
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) @<<