Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mana: support rdma-core via pkg-config in meson
Currently building with custom rdma-core installed in /opt/rdma-core after setting PKG_CONFIG_PATH=/opt/rdma-core/lib64/pkgconfig/ results in the below meson logs: Run-time dependency libmana found: YES 1.0.54.0 Header "infiniband/manadv.h" has symbol "manadv_set_context_attr" : NO Thus to fix this, the libs is updated in meson.build and is passed to the cc.has_header_symbol call using dependencies. After this change, the libmana header files are getting included and net/mana is successfully enabled. Fixes: 517ed6e ("net/mana: add basic driver with build environment") Cc: stable@dpdk.org Signed-off-by: Shreesh Adiga <16567adigashreesh@gmail.com> Acked-by: Long Li <longli@microsoft.com>
- Loading branch information