X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsystemlibrary.cpp;h=0af4910dbc1dcd08d5c15c9a14db7bafd0bfdcfa;hb=69ad3610053e140cb5108f53e4c46a0583e33559;hp=00cbddc5b67e5306161c4ddd8669a72e15bcddd7;hpb=4f78d9f016482ce1ac7d726852e33e07c090df1b;p=builder.git diff --git a/source/systemlibrary.cpp b/source/systemlibrary.cpp index 00cbddc..0af4910 100644 --- a/source/systemlibrary.cpp +++ b/source/systemlibrary.cpp @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #include #include "systemlibrary.h" @@ -7,7 +14,7 @@ using namespace Msp; SystemLibrary::SystemLibrary(Builder &b, const string &n): Target(b, 0, n) { - libname=Path::splitext(Path::basename(n)).base; + libname=splitext(basename(n)).base; if(!libname.compare(0, 3, "lib")) libname.erase(0, 3); }