forked from osmocom/wireshark
oss-fuzzshark: use install directory for headers. Install missing one.
From compilation log: epan/ipv4.h:19:10: fatal error: 'wsutil/inet_ipv4.h' file not found tools/oss-fuzzshark/fuzzshark.c:27:10: fatal error: 'version_info.h' file not found Change-Id: I3e147e014ae398ae07e64aec5a6535a8f9e357a3 Reviewed-on: https://code.wireshark.org/review/27076 Petri-Dish: Jakub Zawadzki <darkjames-ws@darkjames.pl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
17c6fb6709
commit
4a488919e3
|
@ -3035,6 +3035,7 @@ set(SHARK_PUBLIC_HEADERS
|
|||
ws_compiler_tests.h
|
||||
ws_diag_control.h
|
||||
ws_symbol_export.h
|
||||
version_info.h
|
||||
)
|
||||
|
||||
if(NOT WIN32)
|
||||
|
|
|
@ -32,8 +32,7 @@ generate_fuzzer()
|
|||
|
||||
fuzzer_name="fuzzshark_$1"
|
||||
|
||||
# -I$SRC/wireshark is correct, wireshark don't install header files.
|
||||
$CC $CFLAGS -I $SRC/wireshark/ `pkg-config --cflags glib-2.0` \
|
||||
$CC $CFLAGS -I $WIRESHARK_INSTALL_PATH/include/wireshark/ `pkg-config --cflags glib-2.0` \
|
||||
$SRC/wireshark/tools/oss-fuzzshark/fuzzshark.c \
|
||||
-c -o $WORK/${fuzzer_name}.o \
|
||||
$fuzzer_cflags -DFUZZ_DISSECTOR_LIST="$DISSECTOR_LIST"
|
||||
|
|
|
@ -40,6 +40,7 @@ set(WSUTIL_PUBLIC_HEADERS
|
|||
frequency-utils.h
|
||||
g711.h
|
||||
inet_addr.h
|
||||
inet_ipv4.h
|
||||
inet_ipv6.h
|
||||
interface.h
|
||||
jsmn.h
|
||||
|
|
Loading…
Reference in New Issue