]> git.tdb.fi Git - builder.git/blobdiff - source/systemlibrary.cpp
Reorder class members
[builder.git] / source / systemlibrary.cpp
index 00cbddc5b67e5306161c4ddd8669a72e15bcddd7..2df0eb54e89a663b8ef7cab5049a84030670026b 100644 (file)
@@ -1,4 +1,12 @@
-#include <msp/path/utils.h>
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
+#include <msp/fs/path.h>
+#include <msp/fs/utils.h>
 #include "systemlibrary.h"
 
 using namespace std;
@@ -7,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);
 }