From b9474ab87555bbbdfc05d33da342801d4ff76fa7 Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Wed, 7 May 2014 21:16:07 +0200 Subject: waf: make shlib tasks less noisy --- waftools/waf_customizations.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'waftools/waf_customizations.py') diff --git a/waftools/waf_customizations.py b/waftools/waf_customizations.py index b3c2878e10..8da68c9a84 100644 --- a/waftools/waf_customizations.py +++ b/waftools/waf_customizations.py @@ -30,6 +30,8 @@ def m_hook(self, node): def build(ctx): from waflib import Task + import syms + cls = Task.classes['cprogram'] class cprogram(cls): run_str = cls.hcode + '${LAST_LINKFLAGS}' @@ -38,6 +40,18 @@ def build(ctx): tgt_str = ' '.join([a.nice_path() for a in self.outputs]) return 'linking -> {0}\n'.format(tgt_str) + cls = Task.classes['cshlib'] + class cshlib(cls): + def __str__(self): + tgt_str = ' '.join([a.nice_path() for a in self.outputs]) + return 'linking -> {0}\n'.format(tgt_str) + + cls = Task.classes['compile_sym'] + class compile_sym(cls): + def __str__(self): + tgt_str = ' '.join([a.nice_path() for a in self.outputs]) + return 'compile_sym -> {0}\n'.format(tgt_str) + cls = Task.classes['macplist'] class macplist(cls): def run(self): -- cgit v1.2.3