X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.cpp;h=4e7f547f36f7d05b9212a09f957907e1c79c75a8;hb=45571f0fffaf483d07d92f56ae20f00218b7463c;hp=fa6fd5670a5e1cf56251224e7aaf7b80279f02ed;hpb=02097e6a1ddbffbc2217005c3c2ebba528f5248f;p=builder.git diff --git a/source/component.cpp b/source/component.cpp index fa6fd56..4e7f547 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -90,15 +90,6 @@ void Component::create_build_info() if(type==LIBRARY || type==MODULE) if(build_info.libmodeget_exported_build_info(); - build_info.libpath.insert(build_info.libpath.end(), ebi.libpath.begin(), ebi.libpath.end()); - } - } } BuildInfo Component::get_build_info_for_path(const FS::Path &path) const @@ -340,7 +331,8 @@ void Component::Loader::build_info() void Component::Loader::if_arch(const string &cond) { - bool match = obj.package.get_builder().get_current_arch().match_name(cond); + BooleanEvaluator eval(sigc::hide<1>(sigc::mem_fun(&obj.package.get_builder().get_current_arch(), &Architecture::match_name)), false); + bool match = eval.evaluate(cond); obj.package.get_builder().get_logger().log("configure", format("%s/%s: arch %s %smatched", obj.package.get_name(), obj.name, cond, (match ? "" : "not "))); if(match)