]> git.tdb.fi Git - builder.git/blobdiff - source/systemlibrary.cpp
Migrate from msppath to mspfs
[builder.git] / source / systemlibrary.cpp
index 0af4910dbc1dcd08d5c15c9a14db7bafd0bfdcfa..cbeab4a70d3100e17ba0b5b04e8d414a05d96311 100644 (file)
@@ -5,7 +5,8 @@ Copyright © 2006-2007 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;
@@ -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);
 }