Distributed under the LGPL
*/
-#include <msp/path/utils.h>
+#include <msp/fs/dir.h>
+#include <msp/fs/utils.h>
#include "archive.h"
#include "builder.h"
#include "component.h"
if(dynamic_cast<ObjectFile *>(*i))
argv.push_back(relative((*i)->get_name(), work_dir).str());
- Path lpath=lib.get_name();
+ FS::Path lpath=lib.get_name();
if(!builder.get_dry_run())
- mkpath(lpath.subpath(0, lpath.size()-1), 0755);
+ FS::mkpath(FS::dirname(lpath), 0755);
announce(comp.get_package().get_name(), tool, relative(lpath, work_dir).str());