[dpdk-dev] [PATCH 1/7] build: always link-whole DPDK static libraries

Thomas Monjalon thomas at monjalon.net
Wed Apr 29 12:18:19 CEST 2020


29/04/2020 12:08, Bruce Richardson:
> 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.

Please could you add the generated command line before/after?

I would like to make sure that the external dependencies are out of
the whole-archive option.

Thanks




More information about the dev mailing list