]> git.tdb.fi Git - builder.git/blob - source/systemlibrary.cpp
Adapt to changes in msppath
[builder.git] / source / systemlibrary.cpp
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #include <msp/path/utils.h>
9 #include "systemlibrary.h"
10
11 using namespace std;
12 using namespace Msp;
13
14 SystemLibrary::SystemLibrary(Builder &b, const string &n):
15         Target(b, 0, n)
16 {
17         libname=splitext(basename(n)).base;
18         if(!libname.compare(0, 3, "lib"))
19                 libname.erase(0, 3);
20 }