X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fsharedlibrary.cpp;h=6a197bac08c69535ccb53fd98b62d6a04c7c189f;hb=40177b0cfc0d4e67f971941f632e4f1f7e7c3f88;hp=606593bda0d88c82d3299e33db6a7a540d1876f4;hpb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;p=builder.git diff --git a/source/sharedlibrary.cpp b/source/sharedlibrary.cpp index 606593b..6a197ba 100644 --- a/source/sharedlibrary.cpp +++ b/source/sharedlibrary.cpp @@ -1,3 +1,4 @@ +#include #include #include "component.h" #include "sharedlibrary.h" @@ -29,5 +30,5 @@ string SharedLibrary::create_soname(const Component &c) break; } - return format("%s.%s", name, ver.substr(0, i)); + return format("%s.%s", FS::basename(path), ver.substr(0, i)); }