X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsystemlibrary.cpp;h=66a346f8be4c1d8da5b8787e47c112425af41c9e;hb=8d7926359d2477a9928d7367678314bcbc1f6e81;hp=2bfc04bb6f870e30cc6f890cff86ac1510d6058e;hpb=66d1078c04849ec17a7343d0494d6ed087e04318;p=builder.git diff --git a/source/systemlibrary.cpp b/source/systemlibrary.cpp index 2bfc04b..66a346f 100644 --- a/source/systemlibrary.cpp +++ b/source/systemlibrary.cpp @@ -12,14 +12,14 @@ Distributed under the LGPL using namespace std; using namespace Msp; -SystemLibrary::SystemLibrary(Builder &b, const Msp::FS::Path &p): +SystemLibrary::SystemLibrary(Builder &b, const FS::Path &p): FileTarget(b, 0, p), Library(b, 0, p, extract_libname(p)) { } -string SystemLibrary::extract_libname(const Msp::FS::Path &p) +string SystemLibrary::extract_libname(const FS::Path &p) { - string result=FS::basepart(FS::basename(p)); + string result = FS::basepart(FS::basename(p)); if(!result.compare(0, 3, "lib")) result.erase(0, 3); return result;