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

Handle macos linker reporting error message in plural during detection #12574

Merged
merged 1 commit into from
Dec 3, 2023

Conversation

anarazel
Copy link
Contributor

@anarazel anarazel commented Dec 1, 2023

Previously macos reported "ld: unknown option: --version" when being passed --version, but now sometimes it reports in plural, albeit without an obvious pattern when. To handle that, simply just check for the prefix without the :

Fixes: #12552

Previously macos reported "ld: unknown option: --version" when being passed
--version, but now sometimes it reports in plural, albeit without an obvious
pattern when.  To handle that, simply just check for the prefix without the :

Fixes: mesonbuild#12552
@anarazel anarazel requested a review from jpakkane as a code owner December 1, 2023 20:36
@anarazel anarazel changed the title Handle macos linker reporting error message in pluring during detection Handle macos linker reporting error message in plural during detection Dec 2, 2023
Copy link
Collaborator

@thesamesam thesamesam left a comment

Choose a reason for hiding this comment

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

That behaviour is ridiculous, but lgtm

@jpakkane jpakkane merged commit eb44957 into mesonbuild:master Dec 3, 2023
34 checks passed
@ilg-ul
Copy link

ilg-ul commented Dec 3, 2023

This does not fix: #12552.

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.3.0 still having problems to detect the linker on Xcode 15 for GCC
5 participants