X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbinarycomponent.cpp;h=565e8bc1759ad6fb3bffdda89e3626fbde021012;hb=2611acdbc78657d28d2d4efea06c3b6369882a15;hp=0d3e253b3d5d4afc8714fe8e16eff45724ab348c;hpb=35f2979869bff43706f3163ec0979c7084aaa3c4;p=builder.git diff --git a/source/binarycomponent.cpp b/source/binarycomponent.cpp index 0d3e253..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()); } } @@ -122,7 +122,7 @@ void BinaryComponent::create_targets() const } BinaryComponent::Loader::Loader(BinaryComponent &c): - DerivedObjectLoader(c) + DataFile::DerivedObjectLoader(c) { add("use", &Loader::use); }