aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/target.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/target.hxx')
-rw-r--r--libbuild2/cc/target.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/cc/target.hxx b/libbuild2/cc/target.hxx
index 42d15c8..7067421 100644
--- a/libbuild2/cc/target.hxx
+++ b/libbuild2/cc/target.hxx
@@ -61,13 +61,14 @@ namespace build2
// pkg-config file targets.
//
- class LIBBUILD2_CC_SYMEXPORT pc: public file
+ class LIBBUILD2_CC_SYMEXPORT pc: public file // .pc (common)
{
public:
using file::file;
public:
static const target_type static_type;
+ virtual const target_type& dynamic_type () const {return static_type;}
};
class LIBBUILD2_CC_SYMEXPORT pca: public pc // .static.pc