Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support building of static libraries on Alpine Linux #1

Closed
probonopd opened this issue Jun 25, 2023 · 6 comments · Fixed by #12
Closed

Support building of static libraries on Alpine Linux #1

probonopd opened this issue Jun 25, 2023 · 6 comments · Fixed by #12
Milestone

Comments

@probonopd
Copy link
Member

Cross-reference to the Alpine Linux feature report:

@probonopd
Copy link
Member Author

probonopd commented Jun 25, 2023

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 TheAssassin changed the title Use static libassuan from Alpine Linux (once available) Support building of static libraries on Alpine Linux Jun 25, 2023
@TheAssassin TheAssassin added this to the 1.0.0 milestone Jun 26, 2023
@TheAssassin
Copy link
Member

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

@probonopd
Copy link
Member Author

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

@probonopd
Copy link
Member Author

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
Copy link
Member

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

@TheAssassin
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants