X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpkgconfig.h;h=20e5fbfaac88380040283198ed7f42cdc4429cee;hb=be8a901dfc026f61db46d5d64a41cecc619bc97d;hp=8baa9d9c10008ffa28f669156dbdb7fc5a5ac4c6;hpb=7aeaa4ba965f596edad438c02e345a8843f7469a;p=builder.git diff --git a/source/pkgconfig.h b/source/pkgconfig.h index 8baa9d9..20e5fbf 100644 --- a/source/pkgconfig.h +++ b/source/pkgconfig.h @@ -8,6 +8,7 @@ Distributed under the LGPL #ifndef PKGCONFIG_H_ #define PKGCONFIG_H_ +#include "sourcepackage.h" #include "target.h" /** @@ -16,11 +17,12 @@ Creates a .pc file to enable other packages fetch build options with pkg-config. class PkgConfig: public Target { public: - PkgConfig(Builder &, const Package &); + PkgConfig(Builder &, const SourcePackage &); const char *get_type() const { return "PkgConfig"; } - Action *build(); private: const Package &pkg; + + virtual Action *create_action(); }; #endif