From cd10a583ad1f3c299383c07fd8c6ccd6e3199e6b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 11 Nov 2020 15:14:19 +0200 Subject: Add ${c,cxx}.lib_{poptions,libs,rpaths}() functions These functions can be used to query library metadata for options and libraries that should be used when compiling/linking dependent targets, similar to how cc::{compile,link}_rule do it. With this support it should be possible to more or less re-create their semantics in ad hoc recipes. --- libbuild2/cc/module.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libbuild2/cc/module.hxx') diff --git a/libbuild2/cc/module.hxx b/libbuild2/cc/module.hxx index 81456b3..85b7158 100644 --- a/libbuild2/cc/module.hxx +++ b/libbuild2/cc/module.hxx @@ -88,10 +88,10 @@ namespace build2 class LIBBUILD2_CC_SYMEXPORT module: public build2::module, public virtual common, - link_rule, - compile_rule, - install_rule, - libux_install_rule + public link_rule, + public compile_rule, + public install_rule, + public libux_install_rule { public: explicit -- cgit v1.1