未验证 提交 c385b792 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #1636 from aozima/scons_dev

[scons] remove check whether exist group library.
......@@ -585,14 +585,6 @@ def DefineGroup(name, src, depend, **parameters):
if os.path.exists(fn):
os.unlink(fn)
# check whether exist group library
if not GetOption('buildlib') and os.path.exists(os.path.join(group['path'], GroupLibFullName(name, Env))):
group['src'] = []
if group.has_key('LIBS'): group['LIBS'] = group['LIBS'] + [GroupLibName(name, Env)]
else : group['LIBS'] = [GroupLibName(name, Env)]
if group.has_key('LIBPATH'): group['LIBPATH'] = group['LIBPATH'] + [GetCurrentDir()]
else : group['LIBPATH'] = [GetCurrentDir()]
if group.has_key('LIBS'):
Env.AppendUnique(LIBS = group['LIBS'])
if group.has_key('LIBPATH'):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册