if(version[i]=='.' && ++dots>=2)
break;
- soname = format("%s.%s", FS::basename(path), version.substr(0, i));
+ const Architecture &arch = builder.get_current_arch();
+ const Pattern &pattern = arch.get_shared_library_patterns().front();
+ if(arch.get_system()=="windows")
+ soname = pattern.apply(format("%s-%s", component->get_name(), version.substr(0, i)));
+ else
+ soname = format("%s.%s", pattern.apply(component->get_name()), version.substr(0, i));
+
install_filename = soname;
}
}