Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: Depend on libbsd if DPDK depends on it
If libbsd-dev is installed during build time, DPDK will depend on it without a way to turn this off. config/meson.build has the following: libbsd = dependency('libbsd', required: false, method: 'pkg-config') if libbsd.found() dpdk_conf.set('RTE_USE_LIBBSD', 1) endif And lib/eal/include/rte_string_fns.h contains: Accordingly the only way to address this inflexibility is to ensure that dpdk dependencies are appropriately transferred to INTERFACE_LINK_LIBRARIES of the dpdk library. Signed-off-by: Povilas Kanapickas <[email protected]>
- Loading branch information