2021-09-24 18:08 (UTC+0000), William Tu: > Windows does not support linker option '/-no-whole-archive' > or '/whole-archive'. The patch removes them under Windows build. > > Signed-off-by: William Tu <u9012...@gmail.com> > --- > buildtools/pkg-config/meson.build | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-)
Hi William, We need to tell the linker to use whole archive somehow; you write [1] that /WHOLEARCHIVE was required in the end. There's no "Windows linker", there are clang and GCC linkers, the latter supports --whole-archive, but the former needs it translated. Argument translation between compilers is handled by meson. I've filed a bug: https://github.com/mesonbuild/meson/issues/9296 [1]: http://inbox.dpdk.org/dev/CALDO+SZ-FLPYNQbUJ-Ctwtph+M4_X_=zyaokgkp5_un4qfq...@mail.gmail.com/