]> git.tdb.fi Git - builder.git/commitdiff
Use correct library path for libraries from the containing package
authorMikko Rasa <tdb@tdb.fi>
Sun, 9 Oct 2016 12:08:52 +0000 (15:08 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 9 Oct 2016 12:08:52 +0000 (15:08 +0300)
source/binarycomponent.cpp

index 09a47fc8a5cb19ed61af9947f36df9f69bc6e8e5..565e8bc1759ad6fb3bffdda89e3626fbde021012 100644 (file)
@@ -32,7 +32,7 @@ void BinaryComponent::create_build_info()
                if(!(*i)->get_install())
                {
                        build_info.libmodes[(*i)->get_name()] = BuildInfo::STATIC;
-                       build_info.libpath.push_back((*i)->get_package().get_source_directory());
+                       build_info.libpath.push_back((*i)->get_package().get_output_directory());
                }
        }