scons: fix path remove to be less aggressive
This commit is contained in:
parent
039e620147
commit
92bf9782f8
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ def shortest_name(libs):
|
|||
|
||||
def rm_path(item,set,_env):
|
||||
for i in _env[set]:
|
||||
if item in i:
|
||||
if i.startswith(item):
|
||||
_env[set].remove(i)
|
||||
|
||||
def sort_paths(items,priority):
|
||||
|
|
Loading…
Reference in a new issue