wireshark/extcap
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
..
.editorconfig Move extcap EditorConfig settings to source dir 2016-03-23 00:24:52 +00:00
Makefile.am Fix (and chop) static build option 2017-11-19 20:16:50 +00:00
androiddump.c extcap: use SPDX identifiers for licences. 2017-11-12 18:27:24 +00:00
ciscodump.c extcap: use SPDX identifiers for licences. 2017-11-12 18:27:24 +00:00
extcap-base.c extcap: use SPDX identifiers for licences. 2017-11-12 18:27:24 +00:00
extcap-base.h extcap: use SPDX identifiers for licences. 2017-11-12 18:27:24 +00:00
randpktdump.c extcap: use SPDX identifiers for licences. 2017-11-12 18:27:24 +00:00
ssh-base.c extcap: use SPDX identifiers for licences. 2017-11-12 18:27:24 +00:00
ssh-base.h extcap: use SPDX identifiers for licences. 2017-11-12 18:27:24 +00:00
sshdump.c extcap: use SPDX identifiers for licences. 2017-11-12 18:27:24 +00:00
udpdump.c udpdump: add space. 2017-11-15 10:51:57 +00:00