X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsystemlibrary.cpp;h=cbeab4a70d3100e17ba0b5b04e8d414a05d96311;hb=8d636197d4adf5e882e51ffd2ff86d959dd82d6b;hp=1df7b66787d8f85033dd98fe5e6f30f2c5c6535a;hpb=7aeaa4ba965f596edad438c02e345a8843f7469a;p=builder.git diff --git a/source/systemlibrary.cpp b/source/systemlibrary.cpp index 1df7b66..cbeab4a 100644 --- a/source/systemlibrary.cpp +++ b/source/systemlibrary.cpp @@ -5,7 +5,8 @@ Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ -#include +#include +#include #include "systemlibrary.h" using namespace std; @@ -14,7 +15,7 @@ using namespace Msp; SystemLibrary::SystemLibrary(Builder &b, const string &n): Target(b, 0, n) { - libname=Path::splitext(Path::basename(n)).base; + libname=FS::basepart(FS::basename(n)); if(!libname.compare(0, 3, "lib")) libname.erase(0, 3); }