diff options
Diffstat (limited to 'waftools/waf_customizations.py')
-rw-r--r-- | waftools/waf_customizations.py | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/waftools/waf_customizations.py b/waftools/waf_customizations.py index 8da68c9a84..61140cf22b 100644 --- a/waftools/waf_customizations.py +++ b/waftools/waf_customizations.py @@ -30,28 +30,14 @@ def m_hook(self, node): def build(ctx): from waflib import Task - import syms + + def nice_path(node): + return node.path_from(node.ctx.launch_node()) cls = Task.classes['cprogram'] class cprogram(cls): run_str = cls.hcode + '${LAST_LINKFLAGS}' - def __str__(self): - 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): |