]> git.tdb.fi Git - builder.git/blobdiff - source/binarypackage.cpp
Add gcc's private library directory to ClangLinker's system path
[builder.git] / source / binarypackage.cpp
index c0d688afdbb45532f7368d0d2bbb8065ac34301e..adfca1a273bd4ae86b1296e23225918000f0c6cd 100644 (file)
@@ -60,7 +60,7 @@ void BinaryPackage::do_prepare()
        bool has_relative_paths = any_of(export_binfo.libpath.begin(), export_binfo.libpath.end(), is_relative) ||
                any_of(export_binfo.incpath.begin(), export_binfo.incpath.end(), is_relative);
 
-       list<FS::Path> bases;
+       vector<FS::Path> bases;
 
        /* If we have any relative paths that need resolving, or we have no paths at
        all and are not using pkg-config, look for files in prefix */
@@ -105,7 +105,7 @@ void BinaryPackage::do_prepare()
                if(all_found)
                {
                        base_path = prefix;
-                       builder.get_logger().log("configure", format("%s found in %s", name, ((system && use_pkgconfig) ? "system" : base_path.str())));
+                       builder.get_logger().log("configure", "%s found in %s", name, ((system && use_pkgconfig) ? "system" : base_path.str()));
                        break;
                }
        }
@@ -113,7 +113,7 @@ void BinaryPackage::do_prepare()
        if(base_path.empty())
        {
                // TODO report which files were not found
-               builder.get_logger().log("problems", format("Cannot locate files for %s", name));
+               builder.get_logger().log("problems", "Cannot locate files for %s", name);
                problems.push_back("Cannot locate files");
                return;
        }