<div>Hello! I use 2.8.8 and my build chais is following:</div><div><br></div><div>I have 3 static libs  - A.a, B.a, C.a.</div><div>I&#39;m creating new D.so (add_library .. SHARED .. ) with limited set on functions from static libs (linking -lA -lB -lC to resolve functions).</div>

<div>Then I&#39;m creating application, wich use D.so as main library. I&#39;m linking it with target_link_libraries(target D.so).</div><div><br></div><div>But finally, my link cmdline is following: -o application -lD -lA -lB -C. But I want to link only one shared lib - D.so!</div>

<div>As I understand this is results of caching libs. How I can resolve this?</div><div><br></div><div>Thanks!</div><div><br></div>