diff options
Diffstat (limited to 'waftools/waf_customizations.py')
-rw-r--r-- | waftools/waf_customizations.py | 14 |
1 files changed, 14 insertions, 0 deletions
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): |