1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

waf: fixed tabs/spaces for python3.0

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Nov  8 00:55:13 UTC 2010 on sn-devel-104
This commit is contained in:
Andrew Tridgell 2010-11-08 11:11:32 +11:00
parent b867dc9ea2
commit c0297e5e89
2 changed files with 5 additions and 5 deletions

View File

@ -255,7 +255,7 @@ def check_duplicate_sources(bld, tgt_list):
for t in tgt_list:
source_list = TO_LIST(getattr(t, 'source', ''))
tpath = os.path.normpath(os_path_relpath(t.path.abspath(bld.env), t.env.BUILD_DIRECTORY + '/default'))
obj_sources = set()
obj_sources = set()
for s in source_list:
p = os.path.normpath(os.path.join(tpath, s))
if p in obj_sources:

View File

@ -154,12 +154,12 @@ def suncc_wrap(cls):
which have empty libs'''
if getattr(cls, 'solaris_wrap', False):
return
cls.solaris_wrap = True
oldrun = cls.run
def run(self):
cls.solaris_wrap = True
oldrun = cls.run
def run(self):
if self.env.CC_NAME == "sun" and not self.inputs:
self.env = self.env.copy()
self.env.append_value('LINKFLAGS', '-')
return oldrun(self)
cls.run = run
cls.run = run
suncc_wrap(Task.TaskBase.classes['cc_link'])