<div dir="ltr">Great!<div class="m_-4074807717572523190inserted inserted"><br class="m_-4074807717572523190inserted"></div><div class="m_-4074807717572523190inserted inserted">I'll take a look at the thread and try to split the installation into several packages.</div><div class="gmail_extra inserted"><br><div class="gmail_quote">On Mon, Aug 14, 2017 at 3:55 PM, Boris Kolpackov <span dir="ltr"><<a href="mailto:boris@codesynthesis.com" target="_blank">boris@codesynthesis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Filipe Verri <<a href="mailto:filipeverri@gmail.com" target="_blank">filipeverri@gmail.com</a>> writes:<br>
<br>
> I've just packaged build2-toolchain in the Arch Linux User Repository:<br>
> <a href="https://aur.archlinux.org/packages/build2-toolchain/" rel="noreferrer" target="_blank">https://aur.archlinux.org/pack<wbr>ages/build2-toolchain/</a><br>
<br>
</span>Nice!<br>
<br>
BTW, there is a thread going right now about packaging build2 for<br>
Debian. You may find some information there useful:<br>
<br>
<a href="https://lists.build2.org/archives/users/2017-August/000063.html" rel="noreferrer" target="_blank">https://lists.build2.org/archi<wbr>ves/users/2017-August/000063.<wbr>html</a><br>
<span><br>
<br>
> In the bootstrapping process, I've decided to link the dependencies<br>
> statically, so it doesn't clash with system libraries.<br>
><br>
> See <a href="https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=build2-toolchain" rel="noreferrer" target="_blank">https://aur.archlinux.org/cgit<wbr>/aur.git/tree/PKGBUILD?h=build<wbr>2-toolchain</a><br>
> However, by doing so, libbutl is also installed as a static library after<br>
> the process.<br>
><br>
> Is it possible to setup a configuration that all other dependencies are<br>
> statically linked, but libbutl is dynamically linked?<br>
<br>
</span>I think a better approach would be to:<br>
<br>
1. Package everything using individual archives (as described in the<br>
   thread mentioned above). A bit more work but also a lot more<br>
   flexibility.<br>
<br>
2. Use system packages for things like libsqlite.<br>
<br>
3. Install libbutl and libbpkg as shared libraries.<br>
<br>
4. Link pre-release libodb* libraries as static (and perhaps don't<br>
   install them).<br>
<span class="m_-4074807717572523190HOEnZb"><font color="#888888"><br>
Boris<br>
</font></span></blockquote></div><br></div></div>