Statically link bundled libraries

Sébastien Wilmet swilmet at gnome.org
Thu Jun 23 10:40:56 UTC 2016


On Thu, Jun 23, 2016 at 12:28:10PM +0200, Bastien Nocera wrote:
> > And if it means losing de-duplication, it is probably not worth it.
> > But
> > for de-duplication to work on the *.so files, the applications must
> > bundle the same version of the library, and the builds need to be
> > reproducible.
> 
> The result of the previous build will be used if you don't nuke the
> build caches. So unless you change the options, or the version of a
> library, flatpak-builder should already do the right thing.

Not if the applications are built on different machines. If the Flatpak
are built directly from the upstream developers (which Flatpak encourage
to do), it is more likely that two applications are built on different
machines, except if the two applications come from the same project
(e.g. GNOME).

--
Sébastien



More information about the xdg-app mailing list