Skip to content

Split supports_dynamic_linker multiple uses#682

Open
keith wants to merge 1 commit intobazelbuild:mainfrom
keith:ks/split-supports_dynamic_linker-multiple-uses
Open

Split supports_dynamic_linker multiple uses#682
keith wants to merge 1 commit intobazelbuild:mainfrom
keith:ks/split-supports_dynamic_linker-multiple-uses

Conversation

@keith
Copy link
Copy Markdown
Member

@keith keith commented Apr 3, 2026

supports_dynamic_linker is used both for nodeps libraries and if you can
link dynamic libs to a final binary. macOS supports the latter but not
the former. Now if the toolchain defaults
supports_dynamic_library_deps it can indicate that only linking
dynamic libs is supported.

Fixes bazelbuild/bazel#25521

supports_dynamic_linker is used both for nodeps libraries and if you can
link dynamic libs to a final binary. macOS supports the latter but not
the former. Now if the toolchain defaults
`supports_dynamic_library_deps` it can indicate that only linking
dynamic libs is supported.

Fixes bazelbuild/bazel#25521
@keith keith requested review from c-mita, pzembrod and trybka as code owners April 3, 2026 17:52
keith added a commit to bazelbuild/apple_support that referenced this pull request Apr 3, 2026
This is paired with bazelbuild/rules_cc#682
which makes binaries correctly link to shared libs if that is
requested.
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.

supports_dynamic_linker_feature is overloaded and prevents depending on dynamic libraries more than it should

1 participant