Hi Amir Ansari,
There is no transitive dependency in the static library. We assume that lib2 links lib1. At this time, lib2 can get the content in lib1, and then there is a project that needs to use the content in lib1 and lib2., you couldn't just link lib2, you need to link both libraries and add dependencies.
If there are too many static libraries that need to be linked, this is a very tedious operation. If this happens, I suggest you merge the contents of the library or use a dynamic library.
Best regards,
Elya
If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.