3 This file is part of builder
4 Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #include <msp/fs/path.h>
9 #include <msp/fs/utils.h>
10 #include "systemlibrary.h"
15 SystemLibrary::SystemLibrary(Builder &b, const FS::Path &p):
17 Library(b, 0, p, extract_libname(p))
20 string SystemLibrary::extract_libname(const FS::Path &p)
22 string result = FS::basepart(FS::basename(p));
23 if(!result.compare(0, 3, "lib"))