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

Allow stdc++ to be statically linked #25

Merged
merged 1 commit into from
Dec 15, 2022
Merged

Conversation

noboruma
Copy link
Contributor

@noboruma noboruma commented Oct 21, 2022

Add a feature called "contained" to allow static linking of stdc++.
This change allows libhs to be fully linked statically.
Without that change, stdc++ was always linked dynamically, bringing in glibc.
That feature allows compilation for different targets such as musl.

Add feature to allow static linking of stdc++
@noboruma noboruma changed the title Add contained feature Allow stdc++ to be statically linked Oct 21, 2022
@flier flier merged commit ec745c8 into flier:master Dec 15, 2022
@flier
Copy link
Owner

flier commented Dec 15, 2022

Thanks

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 this pull request may close these issues.

2 participants