text2pcap needs only the wsutil lib, not the wiretap lib (as far as I can see).

svn path=/trunk/; revision=46600
This commit is contained in:
Michael Tüxen 2012-12-18 22:56:06 +00:00
parent e8d6a3a627
commit 0461a705c0
3 changed files with 2 additions and 3 deletions

View File

@ -884,7 +884,7 @@ endif()
if(BUILD_text2pcap)
set(text2pcap_LIBS
wiretap
wsutil
${M_LIBRARIES}
${ZLIB_LIBRARIES}
)

View File

@ -423,7 +423,6 @@ rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)
# Libraries with which to link text2pcap.
text2pcap_LDADD = \
wiretap/libwiretap.la \
wsutil/libwsutil.la \
@GLIB_LIBS@ -lm
# Don't turn on -Werror for text2pcap: its source includes text2pcap-scanner.c

View File

@ -152,7 +152,7 @@ reordercap_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
wsutil\libwsutil.lib \
$(GLIB_LIBS)
text2pcap_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
text2pcap_LIBS= \
wsock32.lib user32.lib \
wsutil\libwsutil.lib \
$(GLIB_LIBS)