The extension of a shared lib, which is depending of the OS, can be easily computed in crate_config.gpr:
So_Ext := "";
case Alire_Host_OS is
when "linux" =>
So_Ext := ".so";
when "macos" =>
So_Ext := ".dylib";
when "windows" =>
So_Ext := ".dll";
when others =>
So_Ext := ".so";
end case;
Thus Library_Version can be computed in crate.gpr:
for Library_Version use "lib" & Project'Library_Name & Crate_Config.So_Ext & "." & Crate_Config.Crate_Version;
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too