From: Mikko Rasa Date: Sun, 9 Oct 2016 12:08:52 +0000 (+0300) Subject: Use correct library path for libraries from the containing package X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=2611acdbc78657d28d2d4efea06c3b6369882a15;p=builder.git Use correct library path for libraries from the containing package --- diff --git a/source/binarycomponent.cpp b/source/binarycomponent.cpp index 09a47fc..565e8bc 100644 --- a/source/binarycomponent.cpp +++ b/source/binarycomponent.cpp @@ -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()); } }