X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpackage.h;h=90ee6bc510abc941262d884146c6d053db32f522;hb=8bc8db44c47cd2906c57dccbfb589e41eff7f694;hp=68af269a9c6b4d0575e0dedfba9ca9b5c0c2e924;hpb=bb5c048950a011f181cb3235ed2b0b2677869171;p=builder.git diff --git a/source/package.h b/source/package.h index 68af269..90ee6bc 100644 --- a/source/package.h +++ b/source/package.h @@ -15,6 +15,7 @@ Distributed under the LGPL #include "component.h" #include "condition.h" #include "config.h" +#include "dependencycache.h" #include "feature.h" #include "packageref.h" @@ -81,6 +82,7 @@ public: const std::string &get_arch() const { return config.get_option("arch").value; } LibMode get_library_mode() const; const PathList &get_tar_files() const { return tar_files; } + DependencyCache &get_deps_cache() const { return deps_cache; } void resolve_refs(); void configure(const StringMap &, unsigned); @@ -103,6 +105,7 @@ private: ComponentList components; Config config; bool conf_done; + mutable DependencyCache deps_cache; PathList tar_files; bool use_pkgconfig;