]> The Tcpdump Group git mirrors - tcpdump/commit
CI: Use libpcap.a on MATRIX_BUILD_LIBPCAP=yes. [skip appveyor]
authorDenis Ovsienko <[email protected]>
Thu, 18 Mar 2021 02:14:37 +0000 (02:14 +0000)
committerDenis Ovsienko <[email protected]>
Thu, 18 Mar 2021 11:40:53 +0000 (11:40 +0000)
commit40733327128628b8b0db270c4220beaaad1d6e02
treef65e9adde9a941d22d04fcb0b5c6f330b8e45fa3
parent0f19351efd103bf3bae5d005fadab4b6843055a4
CI: Use libpcap.a on MATRIX_BUILD_LIBPCAP=yes. [skip appveyor]

The only way to pass tests on OpenBSD is to link with the upstream
libpcap using ../libpcap/libpcap.a (hence not using CMake) because
-lpcap always results in linking with OpenBSD /usr/lib/libpcap.so
regardless of the libpcap.a and libpcap.so that build.sh installs under
/tmp/local/.

Work around by not cleaning in ../libpcap on MATRIX_BUILD_LIBPCAP=yes,
so Autoconf can pick the static library up. On MATRIX_BUILD_LIBPCAP=no
do the cleaning so it cannot.
build_matrix.sh