X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsharedlibrary.cpp;h=6a197bac08c69535ccb53fd98b62d6a04c7c189f;hb=dad4c41302de525a1456e9d5b738831487c8acac;hp=606593bda0d88c82d3299e33db6a7a540d1876f4;hpb=c52efe77690dcf620d3b19f750a91422f771942d;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)); }