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

[Bazel 6.x.x] sdk_dylib at _end_ of the linker invocation #766

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

jerrymarino
Copy link
Contributor

Apple's > Xcode 4.x linkers have problems when SDK dylibs are first - Bazel 6.0 broke this due to refactoring. see changes in ( https://github.com/bazelbuild/bazel/blob/283ed362e6ccceb047553c2517a0331afd02db90/tools/osx/crosstool/cc_toolchain_config.bzl#L261 )

So this PR, is adding sdk_dylib to end of the linker invocation to make this work as it did

Apple's > Xcode 4.x linkers have problems when SDK dylibs are first -
Bazel 6.0 broke this due to refactoring. see changes in (
https://github.com/bazelbuild/bazel/blob/283ed362e6ccceb047553c2517a0331afd02db90/tools/osx/crosstool/cc_toolchain_config.bzl#L261 )

So this PR, is adding sdk_dylib to _end_ of the linker invocation to
make this work as it did
@jerrymarino jerrymarino marked this pull request as ready for review September 13, 2023 04:39
@jerrymarino jerrymarino merged commit d701fdc into master Sep 14, 2023
8 checks passed
@jerrymarino jerrymarino deleted the jmarino/bazel_6_linker_issue branch September 14, 2023 17:35
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