]> git.tdb.fi Git - builder.git/blobdiff - source/builder.cpp
Add some output to get_package_source
[builder.git] / source / builder.cpp
index 58288ffbfa096a71e4dfbe82fe360c207824f7b7..b77b8fc3d453f17d755115cdc23f480f3be99b63 100644 (file)
@@ -481,6 +481,9 @@ and if it fails, the package path is searched for matches.
 */
 FS::Path Builder::get_package_location(const string &name)
 {
+       if(verbose>=3)
+               cout<<"Looking for package "<<name<<'\n';
+
        // Try to get source directory with pkgconfig
        list<string> argv;
        argv.push_back("pkg-config");
@@ -504,6 +507,8 @@ FS::Path Builder::get_package_location(const string &name)
                                        pkg_dirs.push_back(full);
                        }
                }
+               if(verbose>=3)
+                       cout<<pkg_dirs.size()<<" packages found in path\n";
        }
 
        bool msp=!name.compare(0, 3, "msp");