X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsystemlibrary.cpp;h=cbeab4a70d3100e17ba0b5b04e8d414a05d96311;hb=a2adbd9c0a8d7a7567848c4c6bdbf0de6ba32bb1;hp=0af4910dbc1dcd08d5c15c9a14db7bafd0bfdcfa;hpb=7567502e17be7704d58ced2f49703fcf71c7ef38;p=builder.git diff --git a/source/systemlibrary.cpp b/source/systemlibrary.cpp index 0af4910..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=splitext(basename(n)).base; + libname=FS::basepart(FS::basename(n)); if(!libname.compare(0, 3, "lib")) libname.erase(0, 3); }