ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Building pruned-down version of tshark

From: Christopher Maynard <Chris.Maynard@xxxxxxxxx>
Date: Mon, 25 Oct 2010 19:18:13 +0000 (UTC)
Tharaneedharan Vilwanathan <vdharani@...> writes:

> I am trying to reduce the size. I would like to explore various ways like
remove support for some protocols (USB, ATM, etc) and do static build, etc. I
did see some pointers related to this but it looks like they are outdated.

You might try editing epan/dissectors/Makefile.common, removing all the
protocols of no interest to you.  You can also try building "--with-plugins=no"
if none of the plugin dissectors interest you.