<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>
<blockquote type="cite">I see, how can we know and how about these
from fluidsynth? <br>
</blockquote>
</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/FluidSynth/fluidsynth/blob/e04cd572cb1ad177519b8e94f27d7be52c074c62/CMakeLists.txt#L62">https://github.com/FluidSynth/fluidsynth/blob/e04cd572cb1ad177519b8e94f27d7be52c074c62/CMakeLists.txt#L62</a></p>
<p>The existence of the "BUILD_SHARED_LIBS<span class="pl-s">"
option implies that it *should* be possible to build fluidsynth
as a static library.<br>
</span></p>
<p><span class="pl-s">That being said, if fluidsynth itself depends
on external (shared) libraries, the original problem persists,
because you still would need to link the final binary with those
libraries - or make them static as well. Etc.<br>
</span></p>
<p><span class="pl-s">---<br>
</span>
<blockquote type="cite">I guess I may have come across a complex
system with over a dozen libs :/ so if I get things straight,
we're better off just keeping it that way?</blockquote>
I think so.<br>
</p>
<p>Christof<br>
</p>
<div class="moz-cite-prefix">On 06.01.2021 03:39, Alexandre Torres
Porres wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEAsFmijt=b8yOEQAV3hmh6jiKKB0KbxiWsxiJTU81djW4v70w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Em ter., 5 de jan. de 2021
às 20:53, Christof Ressi <<a
href="mailto:info@christofressi.com"
moz-do-not-send="true">info@christofressi.com</a>>
escreveu:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<p> </p>
<blockquote type="cite">I still wonder if there's an easy
way to just incorporate all of these libs inside the
external binary.</blockquote>
Do you mean static linking? </div>
</blockquote>
<div><br>
</div>
<div>guess so :) </div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>Depends on the dependencies. Some are available as a
static library and others are not.<br>
</div>
</blockquote>
<div><br>
</div>
<div>I see, how can we know and how about these from
fluidsynth? </div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<p>Personally, I strongly prefer static linking for
plugins (like Pd externals). </p>
</div>
</blockquote>
<div>seems best for me too!</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<p>The downside is that you're responsible for providing
the correct linker flags, since a static library is just
an archive of object files. For complex dependencies,
you're better off with linking dynamically and shipping
them along side your library.<br>
</p>
</div>
</blockquote>
<div>I guess I may have come across a complex system with over
a dozen libs :/ so if I get things straight, we're better
off just keeping it that way?</div>
<div><br>
</div>
<div>cheers</div>
</div>
</div>
</blockquote>
</body>
</html>