Afaict the whole bug should be a non-issue if the involved parties
upgraded to latest libtool
libtool (1.5.2-2) unstable; urgency=low
[...]
* Don't add the contents of dependency_libs to the link line when
linking programs. Closes: #191425, #199423, #238681.
cu andreas