<br><br><div class="gmail_quote">2013/7/19 Nils Gladitz <span dir="ltr"><<a href="mailto:nilsgladitz@gmail.com" target="_blank">nilsgladitz@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Does /home/mgh/proj/test/lib/libfoo.so
not have a SONAME while your native libfoo.so does?<br>
<br>
The linker may use the SONAME when available and might fall back
to the path as seen on the command line
(/home/mgh/proj/test/lib/libfoo.so) otherwise?<br>
<br>
Nils<br></div></div></blockquote><div><br><br>Yes, you are totally right! I have explicitly set soname to library with<br>set( CMAKE_SHARED_LINKER_FLAGS "-Wl,-soname,libfoo.so" )<br>and after this final executable shows its dependencies as host one.<br>
Thank you very much. I have one more question, though: should I<br>set soname every time explicitly or this should be done by toolchain<br>linker?<br></div></div><br>