wireshark/packaging
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
..
macosx autotools: make maintainer-clean should allow rerunning 'configure' 2017-10-15 14:17:20 +00:00
nsis Fix (and chop) static build option 2017-11-19 20:16:50 +00:00
portableapps PortableApps: Don't ship development files. 2017-09-28 22:53:48 +00:00
rpm packaging: Fix RPM spec file 2017-10-15 23:36:44 +00:00
wix Fix (and chop) static build option 2017-11-19 20:16:50 +00:00
Makefile.am autotools: refresh rpm-package target 2017-10-15 23:32:14 +00:00