BinaryBuilder.jl
BinaryBuilder.jl copied to clipboard
Can't have two disting libraries with same basename but different versions as products
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?