Section 4, subsection D of the LGPL-3 requires (emphasis mine):
d) Do one of the following:
Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version ...
The software might be considered "collective work" instead of "derived work"
TL;DR: I'm not sure, but this is a distinction that might be worth looking into.
https://academia.stackexchange.com/questions/48375/using-images-with-cc-by-sa-license-in-slides-or-a-thesis/48382#48382 is for the image in book/thesis, which I believe is analogous ...