wireshark/extcap
Jeroen Roovers 97f90c07ac androiddump: Link against libwiretap and libwsutil
With BUILD_androiddump and EXTCAP_ANDROIDDUMP_LIBPCAP enabled, the
linker notices a couple of cases of underlinking:

extcap/androiddump.c:541: error: undefined reference to 'ws_inet_pton4'
extcap/androiddump.c:685: error: undefined reference to 'ws_hexstrtou32'
extcap/androiddump.c:2513: error: undefined reference to 'cmdarg_err_init'
extcap/androiddump.c:2517: error: undefined reference to 'data_file_url'
extcap/androiddump.c:2629: error: undefined reference to 'ws_strtou16'
extcap/androiddump.c:2592: error: undefined reference to 'ws_strtou16'
extcap/androiddump.c:2646: error: undefined reference to 'ws_strtou16'
extcap/androiddump.c:1708: error: undefined reference to 'ws_inet_pton4'
extcap/androiddump.c:1783: error: undefined reference to 'ws_inet_pton4'

Fix that by explicitly linking against libwiretap and libwsutil when the
linker cannot find those symbols by linking to them through libwireshark.

Change-Id: I4db266fe82927c12d18fec06f9d766b9390bcec3
Reviewed-on: https://code.wireshark.org/review/35855
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-25 10:05:27 +00:00
..
.editorconfig HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
CMakeLists.txt androiddump: Link against libwiretap and libwsutil 2020-01-25 10:05:27 +00:00
androiddump.c androiddump: Provide fifo argument to g_warning() 2020-01-18 08:12:03 +00:00
ciscodump.c Revert "CMake: Don't install HTML manuals twice" 2019-10-10 15:58:41 +00:00
dpauxmon.c If you use data_file_url(), you must first call init_progfile_dir(). 2019-04-08 02:57:53 +00:00
dpauxmon_user.h extcap: Support for DisplayPort AUX channel monitors 2018-05-14 10:44:37 +00:00
extcap-base.c extcap: save debug flag and use it to activate ssh debug. 2018-11-14 04:58:38 +00:00
extcap-base.h Put the main() and wmain() routines for CLI programs into a separate file. 2018-12-13 00:52:11 +00:00
randpktdump.c Revert "CMake: Don't install HTML manuals twice" 2019-10-10 15:58:41 +00:00
sdjournal.c Revert "CMake: Don't install HTML manuals twice" 2019-10-10 15:58:41 +00:00
ssh-base.c ssh-base: fix no previous prototype for ‘extcap_log’ [-Wmissing-prototypes] 2018-12-26 20:14:37 +00:00
ssh-base.h extcap: save debug flag and use it to activate ssh debug. 2018-11-14 04:58:38 +00:00
sshdump.c Revert "CMake: Don't install HTML manuals twice" 2019-10-10 15:58:41 +00:00
udpdump.c Revert "CMake: Don't install HTML manuals twice" 2019-10-10 15:58:41 +00:00