提交 8b8d69f6 编写于 作者: B Bernard Xiong

Merge pull request #350 from grissiom/fix-tools-stable

tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBS
......@@ -435,12 +435,6 @@ def DoBuilding(target, objects):
break
else:
# merge the repeated items in the Env
if Env.has_key('CPPPATH') : Env['CPPPATH'] = list(set(Env['CPPPATH']))
if Env.has_key('CPPDEFINES'): Env['CPPDEFINES'] = list(set(Env['CPPDEFINES']))
if Env.has_key('LIBPATH') : Env['LIBPATH'] = list(set(Env['LIBPATH']))
if Env.has_key('LIBS') : Env['LIBS'] = list(set(Env['LIBS']))
program = Env.Program(target, objects)
EndBuilding(target, program)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册