Patch ltmain.sh to support --whole-archive

libtool has long standing bugs that makes it unusable when the linker flags --as-needed or --whole-archive are used, due to some implicit reordering it does when linking.

dh-autoreconf patches ltmain.sh to support as-needed, but it doesn't for whole-archive, and a patch to support it was rejected. Patch it directly via debian/rules.

Required to build with newver versions of dpdk and with as-needed.

Merge request reports

Loading