AppImage / appimagetool

A low-level tool to generate an AppImage from an existing AppDir
59 stars 11 forks source link

Support building of static libraries on Alpine Linux #1

Closed probonopd closed 1 year ago

probonopd commented 1 year ago

Cross-reference to the Alpine Linux feature report:

probonopd commented 1 year ago

In the record time of just 2 minutes after opening the feature request, alice has made a libassuan-static package.

And just a few minutes later, libassuan-static appeared on pkgs.alpinelinux.org for edge.

Each May and November Alpine Linux makes a release branch from edge, which probably means that in November 2023, the libassuan-static package will be part of the then-released Alpine Linux v3.19.

TheAssassin commented 1 year ago

We also need static flavors of libmount and libblkid, apparently. @probonopd could you open issues upstream, please?

probonopd commented 1 year ago

What pulls these dependencies in? Asking because I don't remember those from static-tools.

probonopd commented 1 year ago

No upstream issue needed, as in edge these are already there, as part of util-linux-static: https://pkgs.alpinelinux.org/contents?file=&path=&name=util-linux-static&branch=edge&repo=main&arch=x86_64

TheAssassin commented 1 year ago

Seems like something changed so these are needed for any build that sets -static... I'll try that one, thanks!

TheAssassin commented 1 year ago

Works, thanks. PR is on the way. The binary size increases by less than 3M when building everything statically. We can optimize that later on if we like.