]> git.tdb.fi Git - builder.git/blobdiff - source/systemlibrary.cpp
Include libmode in library lookup hash
[builder.git] / source / systemlibrary.cpp
index 00cbddc5b67e5306161c4ddd8669a72e15bcddd7..0af4910dbc1dcd08d5c15c9a14db7bafd0bfdcfa 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #include <msp/path/utils.h>
 #include "systemlibrary.h"
 
@@ -7,7 +14,7 @@ using namespace Msp;
 SystemLibrary::SystemLibrary(Builder &b, const string &n):
        Target(b, 0, n)
 {
-       libname=Path::splitext(Path::basename(n)).base;
+       libname=splitext(basename(n)).base;
        if(!libname.compare(0, 3, "lib"))
                libname.erase(0, 3);
 }