libpcap: Fix dependency definitions for libpcap

Commit 35dd53a9e1 ("librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping")
causes a build failure, since src.libnames.mk declares a depencency on
libbnxtre.so, but the libpcap Makefile and prebuild lib dependencies
were not updated accordingly.  Fix the declarations.

Fixes:	35dd53a9e1 ("librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping")
Reviewed by:	ssaxena
Differential Revision:	https://reviews.freebsd.org/D54048
This commit is contained in:
Mark Johnston 2025-12-03 14:26:50 +00:00
parent 962ad7c198
commit 73e8fe6246
2 changed files with 3 additions and 0 deletions

View file

@ -3358,10 +3358,12 @@ _prebuild_libs+= \
lib/ofed/libibmad \
lib/ofed/libibumad \
lib/ofed/complib \
lib/ofed/libbnxtre \
lib/ofed/libmlx5
lib/ofed/libibmad__L: lib/ofed/libibumad__L
lib/ofed/complib__L: lib/libthr__L
lib/ofed/libbnxt__L: lib/ofed/libibverbs__L lib/libthr__L
lib/ofed/libmlx5__L: lib/ofed/libibverbs__L lib/libthr__L
.endif

View file

@ -151,6 +151,7 @@ CFLAGS+= -DPCAP_SUPPORT_NETMAP
.if ${MK_OFED} != "no"
SRCS+= pcap-rdmasniff.c
LIBADD+= ibverbs
LIBADD+= bnxtre
LIBADD+= mlx5
CFLAGS+= -DPCAP_SUPPORT_RDMASNIFF
.endif