![João Valverde](/assets/img/avatar_default.png)
Put different types of plugins (libwiretap, libwireshark) in different subdirectories, give libwiretap and libwireshark init routines that load the plugins, and have them scan the appropriate subdirectories so that we don't even *try* to, for example, load libwireshark plugins in programs that only use libwiretap. Compiled plugins are stored in subfolders of the plugin folders, with the subfolder name being the Wireshark minor version number (X.Y). There is another hierarchical level for each Wireshark library (libwireshark, libwscodecs and libwiretap). The folder names are respectively plugins/X.Y/{epan,codecs,wiretap}. Currently we only distribute "epan" (libwireshark) plugins. Change-Id: I3438787a6f45820d64ba4ca91cbe3c8864708acb Reviewed-on: https://code.wireshark.org/review/23983 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde <j@v6e.pt>
16 lines
354 B
PkgConfig
16 lines
354 B
PkgConfig
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
includedir=@includedir@
|
|
sharedlibdir=${libdir}
|
|
plugindir=@plugindir@
|
|
VERSION_RELEASE=@VERSION_RELEASE@
|
|
|
|
Name: Wireshark
|
|
Description: Network Packet Dissection Library
|
|
Version: @VERSION@
|
|
|
|
Requires: glib-2.0, gmodule-2.0, gthread-2.0
|
|
Libs: -L${libdir} -lwireshark
|
|
Cflags: -I${includedir}/wireshark
|