Statically link bundled libraries

Bastien Nocera hadess at hadess.net
Wed Jun 22 18:38:28 UTC 2016


On Wed, 2016-06-22 at 19:54 +0200, Sébastien Wilmet wrote:
> Hi,
> 
> Is there an example somewhere of a flatpak which statically links its
> bundled libraries?
> 
> Because I don't think there is any reasons to have dynamic linking
> for
> something bundled.
> 
> With Autotools, I know that the libraries must be configured with
> --enable-static, but on the application side I don't know what to do
> (yes I could search in the docs, but if there is already an
> example...).

Why would you want to statically compile? To lose all the de-
duplication? To make sure that the binary will be rebuilt when you
change a single byte in a static lib?



More information about the xdg-app mailing list