]> git.tdb.fi Git - builder.git/blobdiff - source/sharedlibrary.cpp
Make BuildInfo able to handle chained dependencies
[builder.git] / source / sharedlibrary.cpp
index 868e822159847deebf24a76ff23867442485c142..6a197bac08c69535ccb53fd98b62d6a04c7c189f 100644 (file)
@@ -1,10 +1,4 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
+#include <msp/fs/utils.h>
 #include <msp/strings/format.h>
 #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));
 }