Skip to content

Commit bb1f454

Browse files
committed
Update fot tcpdump 4.9.3
1 parent 9609d63 commit bb1f454

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

projects/tcpdump/build.sh

+4-5
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,19 @@
1818
cd libpcap
1919
mkdir build
2020
cd build
21-
cmake ..
21+
cmake .. -DBUILD_SHARED_LIBS=OFF
2222
make
2323
make install
24+
# seems broken for static build only, pkg-config broken as well
25+
rm /usr/local/bin/pcap-config
2426

2527
cd ../../tcpdump
2628
# build project
2729
mkdir build
2830
cd build
2931
cmake ..
3032
make
31-
32-
# build fuzz targets
33-
$CC $CFLAGS -I.. -I. -c ../fuzz/fuzz_pcap.c -o fuzz_pcap.o
34-
$CXX $CXXFLAGS fuzz_pcap.o -o $OUT/fuzz_pcap libnetdissect.a ../../libpcap/build/libpcap.a -lFuzzingEngine
33+
cp fuzz/fuzz* $OUT/
3534

3635
# export other associated stuff
3736
cd ..

0 commit comments

Comments
 (0)