<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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? Depends on the dependencies. Some are
      available as a static library and others are not.<br>
    </p>
    <p>In my "aoo" Pd external, I use the "opus" library, which can be
      built both as a static and shared library. My build system
      supports both dynamic and static linking for each dependency. The
      versions I upload on Deken are all linked statically (i.e. a
      single binary). For distribution via a system package manager,
      however, I would choose dynamic linking, since in that case the
      dependencies are supposed to be installed system-wide.</p>
    <p>Personally, I strongly prefer static linking for plugins (like Pd
      externals). 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>
    <p>Christof<br>
    </p>
    <div class="moz-cite-prefix">On 05.01.2021 23:35, Alexandre Torres
      Porres wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEAsFmjcDODrST3CzquEZ3dL-Xe3NcA3m1RW6XNj4ZQ7dEWR0w@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">Em ter., 5 de jan. de 2021 às 19:28, Alexandre
          Torres Porres <<a href="mailto:porres@gmail.com"
            moz-do-not-send="true">porres@gmail.com</a>> escreveu:<br>
        </div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div dir="ltr">
              <div dir="ltr">Not that it makes that much of a difference
                just getting rid of these two out of so many.</div>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>I still wonder if there's an easy way to just incorporate
            all of these libs inside the external binary. that would
            really make it cleaner. But if we have to settle with this,
            it's fine also...<br>
            <br>
            I mean, it's been mentioned here as an alternative, but I
            wonder if it's too much hassle and if we'll need to exchange
            another dozen of emails until I get what I need to do... or
            until I give up again :) <br>
            <br>
            cheers</div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
  </body>
</html>