forked from osmocom/wireshark
1a80691ee7
Change-Id: Ife25fe9aaa333ffcdce3f2a48faed565dc83aebf Reviewed-on: https://code.wireshark.org/review/27746 Reviewed-by: João Valverde <j@v6e.pt> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
README | ||
hello.c |
README
This is an example of how to build a Wireshark plugin out-of-tree. Tested on Linux using GCC 7. Note this builds against Wireshark's *installed* version. You should of course adapt to your own needs. To build/install the plugin: $ mkdir build && cd build $ cmake .. $ make $ sudo make install If your wireshark.pc file is not in one of the standard pkg-config search paths you will have to tell pkg-config where to find it. Arguably the easiest way to do so is setting PKG_CONFIG_PATH in your build environment, for example: $ export PKG_CONFIG_PATH="/usr/local/lib64/pkgconfig"