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