mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
waf: make shlib tasks less noisy
This commit is contained in:
parent
5704958573
commit
b9474ab875
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user