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

fix(cmake): make sure link flags are propagated to module library builds #1308

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jungleraptor
Copy link
Contributor

@jungleraptor jungleraptor commented Oct 24, 2024

CMAKE_SHARED_LINKER_FLAGS_INIT alone does not populate the link flags for module library targets, i.e.:

add_library(foo MODULE)

This sets the variable in the crosstool script.

`CMAKE_SHARED_LINKER_FLAGS_INIT` alone does not populate the link flags
for module library targets, i.e.:

add_library(foo MODULE)

This sets the variable in the crosstool script.
@jungleraptor jungleraptor marked this pull request as ready for review October 24, 2024 23:29
@jungleraptor
Copy link
Contributor Author

All that's failing is the buildifier step but no logs indicating an issue with the code.

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.

1 participant