+1
−1
+1
−0
Loading
We take care to order libraries on the link line in dependency order. But unittest builds using spdk.unittest.mk were doing things a bit differently, and not doing the sorting. This was uncovered while testing an upcoming patch that adds some new env_dpdk dependencies on the log library. It is not clear exactly why this did not cause a problem until now, but without these changes, the relative order of libraries was definitely different between 'normal' and 'unit test' apps. Note we also need to explicitly add the env_dpdk library for unit tests that directly link the env_dpdk library. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I2674ad3a0a3a80d4ceb0c0ce3157aae9101eca0d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23963 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>