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: Make a list of linked libraries distinct sequence #3694

Merged

Conversation

WojciechMazur
Copy link
Contributor

Fixes #3677
Fixes #3552

The order of linked libraries comming from @link annotations is mostly random. It should not harm us to make this list distinct. For any additional libraries for which order matters the linking options appended to the end of clang options lists would fix any other possible issues.

Copy link
Member

@ekrich ekrich left a comment

Choose a reason for hiding this comment

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

LGTM

@WojciechMazur WojciechMazur merged commit 174fcb0 into scala-native:main Jan 19, 2024
56 of 62 checks passed
@WojciechMazur WojciechMazur deleted the fix/multiple-lib-links branch January 19, 2024 00:46
WojciechMazur added a commit that referenced this pull request Jan 19, 2024
WojciechMazur added a commit that referenced this pull request Jan 19, 2024
WojciechMazur added a commit to WojciechMazur/scala-native that referenced this pull request Jan 25, 2024
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.

Linker now shows double specification of pthread library. OS link now giving ld error
2 participants