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

Can't have two disting libraries with same basename but different versions as products #1243

Open
giordano opened this issue Nov 3, 2022 · 0 comments

Comments

@giordano
Copy link
Member

giordano commented Nov 3, 2022

We can't list both libgcc_s.1.dylib and libgcc_s.1.1.dylib as products because they have the same basename

julia> Base.BinaryPlatforms.parse_dl_name_version("libgcc_s.1.dylib", "macos")
("libgcc_s", v"1.0.0")

julia> Base.BinaryPlatforms.parse_dl_name_version("libgcc_s.1.1.dylib", "macos")
("libgcc_s", v"1.1.0")

This also means we can't predictable know which library the auditor picks up when we have LibraryProcut("libgcc_s", :libgcc_s), as both of them satisfy the basename. Perhaps we should add an optional version::Union{VersionNumber,Nothing}=nothing argument to LibraryProduct to enforce a version number if necessary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant