numam-dpdk/drivers
Bruce Richardson e2db26f766 build: always link whole DPDK static libraries
To ensure all constructors are included in static build, we need to pass
the --whole-archive flag when linking, which is used with the
"link_whole" meson option. Since we use link_whole for all libs, we no
longer need to track the lib as part of the static dependency, just the
path to the headers for compiling.

After this patch is applied, all DPDK .a files are inside
--whole-archive/--no-whole-archive flags, but external dependencies and
shared libs being linked against remain outside.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Andrzej Ostruszka <aostruszka@marvell.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: Sunil Pai G <sunil.pai.g@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
2020-07-01 19:30:52 +02:00
..
baseband bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00
bus bus/fslmc: fix iterating on a class type 2020-06-30 14:52:30 +02:00
common common/mlx5: remove unneeded experimental build flag 2020-06-30 14:52:30 +02:00
compress bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00
crypto build: replace meson OS detection with variable 2020-06-30 15:29:59 +02:00
event bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00
mempool bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00
net net/af_xdp: revert to MP/MC ring for copy mode 2020-06-30 16:24:37 +02:00
raw bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00
vdpa vdpa/mlx5: support queue update 2020-06-30 14:52:31 +02:00
Makefile drivers: add crypto as dependency for event drivers 2020-03-05 14:22:11 +01:00
meson.build build: always link whole DPDK static libraries 2020-07-01 19:30:52 +02:00