wireshark/plugins
João Valverde 262a84c384 Fix (and chop) static build option
This sets the scope of the static build option to Wireshark support
libraries only.

Before the patch:

Static plugins don't work with CMake and autotools.

autotools static build is broken, and most likely will always be, as
building Wireshark all-static is difficult and time-consuming.

After the patch:

For CMake Wireshark will be built with static or shared libraries and
dynamic plugins. Everything just works. CMake apparently doesn't want
you building static and shared libraries at the same time.

For autotools Wireshark will be built with shared libraries by default.
--disable-shared and --enable-static options work as usual. Dlopened
plugins are not built if --disable-shared is given to configure (to
disable shared libraries). This is a limitations imposed by libtool.

Tested on Linux. This removes broken support for building plugins
statically.

Change-Id: Ib8e8176976f136eea93a2ce8f9857b6cf9bec64c
Reviewed-on: https://code.wireshark.org/review/24241
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2017-11-19 20:16:50 +00:00
..
docsis autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
ethercat autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
gryphon autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
irda autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
mate Fix (and chop) static build option 2017-11-19 20:16:50 +00:00
opcua autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
pluginifdemo autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
profinet autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
stats_tree Fix (and chop) static build option 2017-11-19 20:16:50 +00:00
transum autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
unistim autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
wimax autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
wimaxasncp autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
wimaxmacphy autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
Custom.m4.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Custom.make.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.am autotools: make maintainer-clean should allow rerunning 'configure' 2017-10-15 14:17:20 +00:00
Makefile.am.inc autotools: Sort out how we handle plugin.c 2017-10-20 04:37:16 +00:00