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

libfdt: rework shared/static libraries #124

Closed
wants to merge 1 commit into from
Closed

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Feb 21, 2024

Instead of creating 2 libraries manualy, just call both_libraries and link to the appropriate one as requested.

Fixes compilation when passing -Ddefault_libraries=both as the static_library name is duplicated.

ping @eli-schwartz @alyssais

Instead of creating 2 libraries manualy, just call both_libraries and
link to the appropriate one as requested.

Fixes compilation when passing -Ddefault_libraries=both as the
static_library name is duplicated.

Signed-off-by: Rosen Penev <[email protected]>
Copy link

@eli-schwartz eli-schwartz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense. It also allows meson to detect when the objects in both libraries are built with identical command lines and therefore build them only once.

@dgibson
Copy link
Owner

dgibson commented Feb 22, 2024

Merged, thanks.

@dgibson dgibson closed this Feb 22, 2024
@neheb neheb deleted the mess branch February 22, 2024 05:38
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.

3 participants