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 iOS linker arguments #1186

Merged
merged 2 commits into from
Mar 14, 2022

Conversation

keith
Copy link
Member

@keith keith commented Mar 12, 2022

These were interpreted as a single argument, instead of 2 arguments
separated by a space, this lead to this linker error:

clang: error: unknown argument: '-framework Security'
clang: error: unknown argument: '-framework Foundation'

Instead we can use the -Wl syntax so we don't have to worry about
ordering.

These were interpreted as a single argument, instead of 2 arguments
separated by a space, this lead to this linker error:

```
clang: error: unknown argument: '-framework Security'
clang: error: unknown argument: '-framework Foundation'
```

Instead we can use the `-Wl` syntax so we don't have to worry about
ordering.
@keith
Copy link
Member Author

keith commented Mar 12, 2022

Alternatively unless something specifically from rust depends on these we could probably drop these and assume user's builds already include them as needed.

Copy link
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

Thanks!

@illicitonion illicitonion merged commit eb7db68 into bazelbuild:main Mar 14, 2022
@keith keith deleted the ks/fix-ios-linker-arguments branch March 14, 2022 16:00
@keith
Copy link
Member Author

keith commented Mar 14, 2022

Thanks!

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.

None yet

2 participants