/* $Id$
This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
-#include <msp/path/utils.h>
+#include <msp/fs/path.h>
+#include <msp/fs/utils.h>
#include "systemlibrary.h"
using namespace std;
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);
}