<div dir="ltr">On Tue, Sep 17, 2013 at 11:05 AM, Dan Kegel <span dir="ltr"><<a href="mailto:dank@kegel.com" target="_blank">dank@kegel.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Sep 17, 2013 at 9:41 AM, James Bigler <<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>> wrote:<br>
> I have a static library I found using find_library. Typically with shared<br>
> libraries I just link against the library and the dependencies come along<br>
> for the ride.<br>
><br>
> What is the prescribed way of doing this for static libraries?<br>
<br>
</div>How static are you trying to be?<br>
<br>
For comparison, it's worth noting that pkg-config doesn't support<br>
mixed static+dynamic linking,<br>
<a href="https://bugs.freedesktop.org/show_bug.cgi?id=9917" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=9917</a><br>
probably because it's hard to know which dependencies one wants to<br>
be static, and which dynamic.<br>
<br>
(Me, I think I just manually find and add the dependencies as if my<br>
app depended on them.)<br>
<span class="HOEnZb"><font color="#888888">- Dan<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">I'm not trying to be particularly static. I just need my symbols to be resolved at the point where the shared library is linked. I think I'm just going to add the missing libraries to my library variable.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">James</div></div>