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

Make MCL_STATIC_LIB completely static #204

Closed
wants to merge 1 commit into from

Conversation

jagerman
Copy link
Contributor

Currently the MCL_STATIC_LIB option will produce static mcl::mclbn{N} targets, but these static targets still link to the non-static mcl::mcl and so you end up with a half-static result that still depends on a dynamic lib.

This fixes it to link to the mcl::mcl_st static target when MCL_STATIC_LIB is enabled (and mcl::mcl otherwise).

Currently MCL_STATIC_LIB will produce static mcl::mclbn{N} targets, but
these static targets still link to the *non*-static mcl::mcl and so you
end up with a half-static result that still depends on a dynamic lib.

This fixes it to link to the mcl_st static target when MCL_STATIC_LIB is
enabled.
@herumi
Copy link
Owner

herumi commented May 15, 2024

Thank you for your contribution. I'll merge it with the main branch later.

@herumi
Copy link
Owner

herumi commented May 30, 2024

01d1a43

@herumi herumi closed this May 30, 2024
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