ceph/cmake
Chunsong Feng 6fdb468b85 cmake: link DPDK shared libraries to avoid DPDK initialization failure
The common_async_dpdk library depends on the dpdk librte_eal file.
If the static library is used, the dependency is transferred to
libceph-common. By default, libceph-common uses the PUBLIC keyword,
the keyword PUBLIC determines that both the application and
libceph-common link to dpdk librte_eal.a. As a result, the global
variables in dpdk librte_eal.a has two copies. So link DPDK shared
libs to avoid DPDK initialization failure.

Fixes: https://tracker.ceph.com/issues/42861

Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
Signed-off-by: luorixin <luorixin@huawei.com>
2021-10-14 20:45:34 +08:00
..
modules cmake: link DPDK shared libraries to avoid DPDK initialization failure 2021-10-14 20:45:34 +08:00