X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsharedlibrary.cpp;h=6a197bac08c69535ccb53fd98b62d6a04c7c189f;hb=dcaf06c2bba4e02a312cd6af24ddc96410e7be4e;hp=868e822159847deebf24a76ff23867442485c142;hpb=0458300fda4f345f865a7f3ee4fc0f2020a91983;p=builder.git diff --git a/source/sharedlibrary.cpp b/source/sharedlibrary.cpp index 868e822..6a197ba 100644 --- a/source/sharedlibrary.cpp +++ b/source/sharedlibrary.cpp @@ -1,10 +1,4 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - +#include #include #include "component.h" #include "sharedlibrary.h" @@ -36,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)); }